Click or drag to resize
Akka.NETLogging.GetLogger Method (ActorSystem, Object, ILogMessageFormatter)
Creates a new logging adapter using the specified system's event stream.

Namespace:  Akka.Event
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static ILoggingAdapter GetLogger(
	ActorSystem system,
	Object logSourceObj,
	ILogMessageFormatter logMessageFormatter = null
)

Parameters

system
Type: Akka.Actor.ActorSystem
The system used to configure the logging adapter.
logSourceObj
Type: System.Object
The source that produces the log events.
logMessageFormatter (Optional)
Type: Akka.Event.ILogMessageFormatter
The formatter used to format log messages.

Return Value

Type: ILoggingAdapter
The newly created logging adapter.
See Also