PROTOCOL
LogSink
public protocol LogSink
A log sink for HaapiLogger.
Methods
writeLog(logType:followUpTag:message:file:line:)
func writeLog(logType: LogType, followUpTag: FollowUpTag, message: String, file: String, line: Int)
Writes the details of the log.
- Parameters:
- osLogType: The OS log type.
- followUpTag: The follow up tag.
- message: The message.
- file: The file where the logger was invoked.
- line: The line where the logger was invoked.
Parameters
Name | Description |
---|---|
osLogType | The OS log type. |
followUpTag | The follow up tag. |
message | The message. |
file | The file where the logger was invoked. |
line | The line where the logger was invoked. |