Click or drag to resize
Akka.NETLoggingGetLogger 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.42 (1.2.3.42)
Syntax
public static ILoggingAdapter GetLogger(
	ActorSystem system,
	Object logSourceObj,
	ILogMessageFormatter logMessageFormatter = null
)

Parameters

system
Type: Akka.ActorActorSystem
The system used to configure the logging adapter.
logSourceObj
Type: SystemObject
The source that produces the log events.
logMessageFormatter (Optional)
Type: Akka.EventILogMessageFormatter
The formatter used to format log messages.

Return Value

Type: ILoggingAdapter
The newly created logging adapter.
See Also