SystemLogEntry
Namespace: MBrace.Runtime
Struct that specifies a single system log entry
Record Fields
Record Field | Description |
DateTime
Signature: DateTimeOffset
|
Date of log entry |
LogLevel
Signature: LogLevel
|
LogLevel of log entry |
Message
Signature: string
|
Logged message of entry |
SourceId
Signature: string
|
Originating worker identifier |
Constructors
Constructor | Description |
new(logLevel, message)
Signature: (logLevel:LogLevel * message:string) -> SystemLogEntry
|
Creates a new log entry with datetime set to current machine date. CompiledName: |
new(...)
Signature: (logLevel:LogLevel * message:string * dateTime:DateTimeOffset * sourceId:string) -> SystemLogEntry
|
Creates a new log entry with supplied parameters. CompiledName: |
Instance members
Instance member | Description |
IsSourceSpecified
Signature: bool
|
Worker source identifier is specified in the entry. CompiledName: |
Static members
Static member | Description |
Format(entry, showDate, showSourceId)
Signature: (entry:SystemLogEntry * showDate:bool option * showSourceId:bool option) -> string
|
Displays log entry as string with supplied parameters. |
WithWorkerId(workerId, entry)
Signature: (workerId:string * entry:SystemLogEntry) -> SystemLogEntry
|
Creates a new log entry with updated worker source identifier. |