Logger
Provides logging interface and utility functions.
Static members
Static member | Description |
Do(logId, logLevel, action)
Signature: (logId:string * logLevel:LogLevel * action:Action<unit>) -> unit
|
Execute 'action' if "logLevel" is less than or equal to the log level for "logId"
|
Do(logLevel, action)
Signature: (logLevel:LogLevel * action:Action<unit>) -> unit
|
Execute 'action' if logLevel <= Logger.DefaultLogLevel
|
LogF(...)
Signature: (logId:string * jobId:Guid * logLevel:LogLevel * messageFunc:Func<string>) -> unit
|
Log message generated by "messageFunc" using "JobId",
"messageFunc" is evaluated only if "logLevel" is less than or equal to the log level for "logId"
|
LogF(jobId, logLevel, messageFunc)
Signature: (jobId:Guid * logLevel:LogLevel * messageFunc:Func<string>) -> unit
|
Log message generated by "messageFunc" using "JobId",
"messageFunc" is evaluated only if "logLevel" is less than or equal to the log level for "logId"
|
LogF(logId, logLevel, messageFunc)
Signature: (logId:string * logLevel:LogLevel * messageFunc:Func<string>) -> unit
|
Log message generated by "messageFunc" using "logId",
"messageFunc" is evaluated only if "logLevel" is less than or equal to the log level for "logId"
|
LogF(logLevel, messageFunc)
Signature: (logLevel:LogLevel * messageFunc:Func<string>) -> unit
|
Log the message generated by "messageFunc", "messageFunc" is evaluated only if logLevel <= Logger.DefaultLogLevel
|