Show / Hide Table of Contents

Interface ILogConsumer

An interface used to consume log entries.

Namespace: Orleans.Runtime
Assembly: Orleans.Core.Legacy.dll
Syntax
public interface ILogConsumer

Methods

| Improve this Doc View Source

Log(Severity, LoggerType, String, String, IPEndPoint, Exception, Int32)

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

Declaration
void Log(Severity severity, LoggerType loggerType, string caller, string message, IPEndPoint myIPEndPoint, Exception exception, int eventCode = 0)
Parameters
Type Name Description
Severity severity

The severity of the message being traced.

LoggerType loggerType

The type of logger the message is being traced through.

System.String caller

The name of the logger tracing the message.

System.String message

The message to log.

IPEndPoint myIPEndPoint

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

Exception exception

The exception to log. May be null.

System.Int32 eventCode

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.

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX