Click or drag to resize
Akka.NETLoggingGetLogger Method (LoggingBus, Object, ILogMessageFormatter)
Creates a new logging adapter that writes to the specified logging bus.

Namespace:  Akka.Event
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static ILoggingAdapter GetLogger(
	LoggingBus loggingBus,
	Object logSourceObj,
	ILogMessageFormatter logMessageFormatter = null
)

Parameters

loggingBus
Type: Akka.EventLoggingBus
The bus on which this logger writes.
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