public static function getBackend()
    {
        if(!is_object(self::$backend))
        {
            self::$backend = new \Monolog\Logger(self::$name);
            self::$backend->pushHandler(self::getStreamHandler());
            self::setLogFormat(self::$logFormat);
        }
        return self::$backend;
    }
public static function getBackend()
    {
        if(!is_object(self::$backend))
        {
            self::$backend = new \Monolog\Logger(self::$name);
            self::$backend->pushHandler(self::getStreamHandler());
            self::setLogFormat(self::$logFormat);
        }
        return self::$backend;
    }
public static function getBackend ( ) { if ( ! is_object ( self :: $ backend ) ) { self :: $ backend = new \ Monolog \ Logger ( self :: $ name ) ; self :: $ backend -> pushHandler ( self :: getStreamHandler ( ) ) ; self :: setLogFormat ( self :: $ logFormat ) ; } return self :: $ backend ; }
Returns a singleton instance of a monolog logger.
@return \Monolog\Logger
Returns a singleton instance of a monolog logger .