Logger
public struct Logger
                ログを出力するための構造体です。
- 
                  
                  
タグを定義するための構造体です。
See moreDeclaration
Swift
public struct Tag - 
                  
                  
ログレベルの取得および設定を行います。
Declaration
Swift
public static var level: LogLevel { get set } - 
                  
                  
ログ出力有無の取得および設定を行います。
Declaration
Swift
public static var isEnabled: Bool { get set } - 
                  
                  
ログ(Error)を出力します。
Declaration
Swift
public static func error(tag: Tag, message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
tagタグ
messageメッセージ
fileファイル名
function関数名
line行番号
 - 
                  
                  
ログ(Warn)を出力します。
Declaration
Swift
public static func warn(tag: Tag, message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
tagタグ
messageメッセージ
fileファイル名
function関数名
line行番号
 - 
                  
                  
ログ(Info)を出力します。
Declaration
Swift
public static func info(tag: Tag, message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
tagタグ
messageメッセージ
fileファイル名
function関数名
line行番号
 - 
                  
                  
ログ(Debug)を出力します。
Declaration
Swift
public static func debug(tag: Tag, message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
tagタグ
messageメッセージ
fileファイル名
function関数名
line行番号
 - 
                  
                  
ログ(Verbose)を出力します。
Declaration
Swift
public static func verbose(tag: Tag, message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
tagタグ
messageメッセージ
fileファイル名
function関数名
line行番号
 
View on GitHub
Install in Dash
        Logger Structure Reference