Bewerken

Delen via


Grain.GetLogger Method

Definition

Overloads

GetLogger()

Returns a logger object that this grain's code can use for tracing. The name of the logger will be derived from the grain class name.

GetLogger(String)

Returns a logger object that this grain's code can use for tracing.

GetLogger()

Returns a logger object that this grain's code can use for tracing. The name of the logger will be derived from the grain class name.

protected Orleans.Runtime.Logger GetLogger ();
member this.GetLogger : unit -> Orleans.Runtime.Logger
Protected Function GetLogger () As Logger

Returns

A logger for this grain.

Applies to

GetLogger(String)

Returns a logger object that this grain's code can use for tracing.

protected virtual Orleans.Runtime.Logger GetLogger (string loggerName);
abstract member GetLogger : string -> Orleans.Runtime.Logger
override this.GetLogger : string -> Orleans.Runtime.Logger
Protected Overridable Function GetLogger (loggerName As String) As Logger

Parameters

loggerName
String

Returns

Name of the logger to use.

Applies to