Default KSLog
constructor(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = KSLoggerDefaultPlatformLoggerLambda)(source)
Parameters
default Tag
will be used in case when tag
parameter in performLog omitted
message Formatter
special formatter which creating String inside of performLog for each call. Defaults to defaultMessageFormatter
logging
target lambda which will be called with a result of messageFormatter logs formatting as a message and tag as tag if not null
and defaultTag otherwise