public static function getHandler($level = null)
    {
        if (empty($level)) {
            $level = static::DEFAULT_LEVEL;
        }

        if (empty(static::$handler)) {
            static::setHandler($level);
        }
        return static::$handler;
    }
public static function getHandler($level = null)
    {
        if (empty($level)) {
            $level = static::DEFAULT_LEVEL;
        }

        if (empty(static::$handler)) {
            static::setHandler($level);
        }
        return static::$handler;
    }
public static function getHandler ( $ level = null ) { if ( empty ( $ level ) ) { $ level = static :: DEFAULT_LEVEL ; } if ( empty ( static :: $ handler ) ) { static :: setHandler ( $ level ) ; } return static :: $ handler ; }
Get log handler

@param string $level Log level
@return object
Get log handler