CustomOSLogMessageConvertible
public protocol CustomOSLogMessageConvertible
Type to provide a custom formatting. If you wanna provide your own custom formatting while logging your custom type, extend it to conform to this protocol.
-
osLogMessage(file:Default implementationfunction: line: ) API to provide a custom log message formatting for your custom types.
Default Implementation
Contructs a
LogMessagewhich could be used to log message. The log message arguments are marked as public withDEBUGand private withRELEASEconfigurations.Declaration
Swift
func osLogMessage(file: String, function: String, line: UInt) -> LogMessage