Methods

dispose():Promise<Void>

error(msg:String):Void

init(logCallback:ILogCallback, ?logFilePath:String, ?logToConsole:Bool):Void

log(msg:String, ?level:LogLevel):Void

@:value({ prependTimestamp : true })setup(consoleMinLogLevel:LogLevel, ?_logFilePath:EitherType<String, Bool>, prependTimestamp:Bool = true):Void

Set the logger's minimum level to log in the console, and whether to log to the file. Log messages are queued before this is called the first time, because minLogLevel defaults to Warn.

verbose(msg:String):Void

warn(msg:String):Void