Show / Hide Table of Contents

Class LoggerExtensionMethods

Inheritance
System.Object
LoggerExtensionMethods
Namespace: Orleans.Runtime
Assembly: Orleans.Core.Legacy.dll
Syntax
public static class LoggerExtensionMethods : object

Methods

| Improve this Doc View Source

GetLogger(IProviderRuntime, String)

Provides a logger to be used by the provider.

Declaration
public static Logger GetLogger(this IProviderRuntime runtime, string loggerName)
Parameters
Type Name Description
IProviderRuntime runtime

Provider runtime

System.String loggerName

Name of the logger being requested.

Returns
Type Description
Logger

Object reference to the requested logger.

See Also
LoggerType
| Improve this Doc View Source

GetLogger(Grain)

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.

Declaration
public static Logger GetLogger(this Grain grain)
Parameters
Type Name Description
Grain grain
Returns
Type Description
Logger

A logger for this grain.

| Improve this Doc View Source

GetLogger(Grain, String)

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

Declaration
public static Logger GetLogger(this Grain grain, string loggerName)
Parameters
Type Name Description
Grain grain
System.String loggerName
Returns
Type Description
Logger

Name of the logger to use.

| Improve this Doc View Source

GetLogger(IGrainRuntime, String)

Extension method GetLogger for IGrainRuntime

Declaration
public static Logger GetLogger(this IGrainRuntime runtime, string loggerName)
Parameters
Type Name Description
IGrainRuntime runtime
System.String loggerName
Returns
Type Description
Logger
| Improve this Doc View Source

Logger(IClusterClient)

Provides logging facility for applications.

Declaration
public static Logger Logger(this IClusterClient client)
Parameters
Type Name Description
IClusterClient client
Returns
Type Description
Logger
  • Improve this Doc
  • View Source
Back to top Generated by DocFX