Click or drag to resize
LoggingGetLogger Method (IActorContext, ILogMessageFormatter)
Gets the logger.

Namespace: Akka.Event
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public static LoggingAdapter GetLogger(
	this IActorContext context,
	ILogMessageFormatter logMessageFormatter = null
)

Parameters

context
Type: Akka.ActorIActorContext
The cell.
logMessageFormatter (Optional)
Type: Akka.EventILogMessageFormatter
The log message formatter.

Return Value

Type: LoggingAdapter
LoggingAdapter.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IActorContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also