NLogTraceListener Properties |
The NLogTraceListener type exposes the following members.
Name | Description | |
---|---|---|
Attributes | Gets the custom trace listener attributes defined in the application configuration file. (Inherited from TraceListener.) | |
AutoLoggerName |
Gets or sets a value indicating whether to use auto logger name detected from the stack trace.
| |
DefaultLogLevel |
Gets or sets the default log level.
| |
DisableFlush |
Gets or sets a value indicating whether flush calls from trace sources should be ignored.
| |
Filter | Gets or sets the trace filter for the trace listener. (Inherited from TraceListener.) | |
ForceLogLevel |
Gets or sets the log which should be always used regardless of source level.
| |
IndentLevel | Gets or sets the indent level. (Inherited from TraceListener.) | |
IndentSize | Gets or sets the number of spaces in an indent. (Inherited from TraceListener.) | |
IsThreadSafe |
Gets a value indicating whether the trace listener is thread safe.
(Overrides TraceListenerIsThreadSafe.) | |
LogFactory |
Gets or sets the log factory to use when outputting messages (null - use LogManager).
| |
Name | Gets or sets a name for this TraceListener. (Inherited from TraceListener.) | |
NeedIndent | Gets or sets a value indicating whether to indent the output. (Inherited from TraceListener.) | |
TraceOutputOptions | Gets or sets the trace output options. (Inherited from TraceListener.) |