public static function log($msg)
    {
        if (!self::$_enabled) {
            return;
        }

        if (is_null(self::$_file)) {
            echo "log: $msg\n";
            return;
        }

        return self::_logToFile($msg);
    }
public static function log($msg)
    {
        if (!self::$_enabled) {
            return;
        }

        if (is_null(self::$_file)) {
            echo "log: $msg\n";
            return;
        }

        return self::_logToFile($msg);
    }
public static function log ( $ msg ) { if ( ! self :: $ _enabled ) { return ; } if ( is_null ( self :: $ _file ) ) { echo "log: $msg\n" ; return ; } return self :: _logToFile ( $ msg ) ; }
Send a message to log

@param string $msg message

@return null
Send a message to log