public static function log($level, $message)
    {
        if(self::$active)
        {
            self::getBackend()->addRecord($level, $message);
        }
    }
public static function log($level, $message)
    {
        if(self::$active)
        {
            self::getBackend()->addRecord($level, $message);
        }
    }
public static function log ( $ level , $ message ) { if ( self :: $ active ) { self :: getBackend ( ) -> addRecord ( $ level , $ message ) ; } }
Write out the log message to the log file at the specified log level.

@param integer $level
@param string $message
Write out the log message to the log file at the specified log level .