public static function init($path, $name = 'log', $minimumLevel = self::DEBUG)
    {
        if($path === 'php://output')
        {
            self::$active = true;
        }
        else if(is_writable($path))
        {
            self::$active = true;
        }
        else 
        {
            self::$active = false;
        }
        
        self::$backend = null;
        self::$stream = null;
        self::$name = $name;
        self::$logFilePath = $path;
        self::$minimumLevel = $minimumLevel;
    }
public static function init($path, $name = 'log', $minimumLevel = self::DEBUG)
    {
        if($path === 'php://output')
        {
            self::$active = true;
        }
        else if(is_writable($path))
        {
            self::$active = true;
        }
        else 
        {
            self::$active = false;
        }
        
        self::$backend = null;
        self::$stream = null;
        self::$name = $name;
        self::$logFilePath = $path;
        self::$minimumLevel = $minimumLevel;
    }
public static function init ( $ path , $ name = 'log' , $ minimumLevel = self :: DEBUG ) { if ( $ path === 'php://output' ) { self :: $ active = true ; } else if ( is_writable ( $ path ) ) { self :: $ active = true ; } else { self :: $ active = false ; } self :: $ backend = null ; self :: $ stream = null ; self :: $ name = $ name ; self :: $ logFilePath = $ path ; self :: $ minimumLevel = $ minimumLevel ; }
Initializes the logger.

@param string $path
@param string $name
@param integer $minimumLevel
Initializes the logger .