Logger
Namespace: MBrace.Runtime
Functions and values
Function or value | Description |
filter(filterF target)
Signature: filterF:(SystemLogEntry -> bool) -> target:ISystemLogger -> ISystemLogger
|
Filters log entries that reach the target logger according to supplied predicate. |
filterLogLevel(maxLogLevel target)
Signature: maxLogLevel:LogLevel -> target:ISystemLogger -> ISystemLogger
|
Filters log entries that reach the target logger according to supplied log level. |
log(logger level message)
Signature: logger:ISystemLogger -> level:LogLevel -> message:string -> unit
|
Logs a new entry with provided level using the current date time |
logCritical(logger message)
Signature: logger:ISystemLogger -> message:string -> unit
|
Logs critical error message with current time |
logError(logger message)
Signature: logger:ISystemLogger -> message:string -> unit
|
Logs error message with current time |
logF(logger level fmt)
Signature: logger:ISystemLogger -> level:LogLevel -> fmt:StringFormat<'?52289,unit> -> '?52289
Type parameters: '?52289 |
Logs a new entry with provided level and formatted message |
logInfo(logger message)
Signature: logger:ISystemLogger -> message:string -> unit
|
Logs information message with current time |
logWarning(logger message)
Signature: logger:ISystemLogger -> message:string -> unit
|
Logs warning message with current time |
logWithException(...)
Signature: logger:ISystemLogger -> level:LogLevel -> exn:exn -> message:string -> unit
|
Logs a new entry with provided level and exception using the current date time |