protected static function initLogging()
    {
        // Wire the required datetime service ...
        self::$registry->getContainer()->getMap()->wire(
            [
                'doozr.datetime.service' => Doozr_Loader_Serviceloader::load('datetime'),
            ]
        );

        // Get logging ...
        $logger = self::$registry->getContainer()->build('doozr.logging');

        // ... and attach the Collecting Logger
        $logger->attach(
            self::$registry->getContainer()->build('doozr.logging.collecting')
        );

        self::$registry->setLogging($logger);

        // Important for bootstrap result
        return true;
    }
protected static function initLogging()
    {
        // Wire the required datetime service ...
        self::$registry->getContainer()->getMap()->wire(
            [
                'doozr.datetime.service' => Doozr_Loader_Serviceloader::load('datetime'),
            ]
        );

        // Get logging ...
        $logger = self::$registry->getContainer()->build('doozr.logging');

        // ... and attach the Collecting Logger
        $logger->attach(
            self::$registry->getContainer()->build('doozr.logging.collecting')
        );

        self::$registry->setLogging($logger);

        // Important for bootstrap result
        return true;
    }
protected static function initLogging ( ) { // Wire the required datetime service ... self :: $ registry -> getContainer ( ) -> getMap ( ) -> wire ( [ 'doozr.datetime.service' => Doozr_Loader_Serviceloader :: load ( 'datetime' ) , ] ) ; // Get logging ... $ logger = self :: $ registry -> getContainer ( ) -> build ( 'doozr.logging' ) ; // ... and attach the Collecting Logger $ logger -> attach ( self :: $ registry -> getContainer ( ) -> build ( 'doozr.logging.collecting' ) ) ; self :: $ registry -> setLogging ( $ logger ) ; // Important for bootstrap result return true ; }
Initializes the logging-manager of the Doozr Framework. The first initialized logging
is of type collecting. So it collects all entries as long as the configuration isn't parsed and the real
configured loggers are attached.

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE on success
@static
Initializes the logging - manager of the Doozr Framework . The first initialized logging is of type collecting . So it collects all entries as long as the configuration isn t parsed and the real configured loggers are attached .