MBrace.Runtime


LogUtils

Namespace: MBrace.Runtime

Type extensions

Type extensionDescription
Log(level message)
Signature: level:LogLevel -> message:string -> unit

Logs a new entry with provided level using the current date time

CompiledName: ISystemLogger.Log

LogCritical(message)
Signature: message:string -> unit

Logs critical error message with current time

CompiledName: ISystemLogger.LogCritical

LogError(message)
Signature: message:string -> unit

Logs error message with current time

CompiledName: ISystemLogger.LogError

Logf(level fmt)
Signature: level:LogLevel -> fmt:StringFormat<'a,unit> -> 'a
Type parameters: 'a

Logs a new entry with provided level and formatted message

CompiledName: ISystemLogger.Logf

LogInfo(message)
Signature: message:string -> unit

Logs information message with current time

CompiledName: ISystemLogger.LogInfo

LogWarning(message)
Signature: message:string -> unit

Logs warning message with current time

CompiledName: ISystemLogger.LogWarning

LogWithException(level exn txt)
Signature: level:LogLevel -> exn:exn -> txt:string -> unit

Logs a new entry with provided level and exception using the current date time

CompiledName: ISystemLogger.LogWithException

Fork me on GitHub