Common Logging 2.0 API Reference |
|
CommonLoggingTraceListener.LoggerNameFormat Property
Format to use for creating the logger name. Defaults to "{listenerName}.{sourceName}".
[Visual Basic]
Public Property LoggerNameFormat() As
String Public Get
End Get
Public Set
End Set
End Property
[C#]
public
string LoggerNameFormat { public get; public set; }
Remarks
Available placeholders are:
- {listenerName}: the configured name of this listener instance.
- {sourceName}: the trace source name an event originates from (see e.g. TraceEvent.
See Also
CommonLoggingTraceListener Class | Common.Logging.Simple Namespace