ILogConsumer.Log Method

Definition

The method to call during logging. This method should be very fast, since it is called synchronously during Orleans logging.

public void Log (Orleans.Runtime.Severity severity, Orleans.Runtime.LoggerType loggerType, string caller, string message, System.Net.IPEndPoint myIPEndPoint, Exception exception, int eventCode = 0);
abstract member Log : Orleans.Runtime.Severity * Orleans.Runtime.LoggerType * string * string * System.Net.IPEndPoint * Exception * int -> unit
Public Sub Log (severity As Severity, loggerType As LoggerType, caller As String, message As String, myIPEndPoint As IPEndPoint, exception As Exception, Optional eventCode As Integer = 0)

Parameters

severity
Severity

The severity of the message being traced.

loggerType
LoggerType

The type of logger the message is being traced through.

caller
String

The name of the logger tracing the message.

message
String

The message to log.

myIPEndPoint
IPEndPoint

The IPEndPoint of the Orleans client/server if known. May be null.

exception
Exception

The exception to log. May be null.

eventCode
Int32

Numeric event code for this log entry. May be zero, meaning 'Unspecified'. In general, all log entries at severity=Error or greater should specify an explicit error code value.

Applies to