Click or drag to resize
NLogTraceListener Properties

The NLogTraceListener type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the custom trace listener attributes defined in the application configuration file.
(Inherited from TraceListener.)
Public propertyAutoLoggerName
Gets or sets a value indicating whether to use auto logger name detected from the stack trace.
Public propertyDefaultLogLevel
Gets or sets the default log level.
Public propertyDisableFlush
Gets or sets a value indicating whether flush calls from trace sources should be ignored.
Public propertyFilter
Gets and sets the trace filter for the trace listener.
(Inherited from TraceListener.)
Public propertyForceLogLevel
Gets or sets the log which should be always used regardless of source level.
Public propertyIndentLevel
Gets or sets the indent level.
(Inherited from TraceListener.)
Public propertyIndentSize
Gets or sets the number of spaces in an indent.
(Inherited from TraceListener.)
Public propertyIsThreadSafe
Gets a value indicating whether the trace listener is thread safe.
(Overrides TraceListenerIsThreadSafe.)
Public propertyLogFactory
Gets or sets the log factory to use when outputting messages (null - use LogManager).
Public propertyName
Gets or sets a name for this TraceListener.
(Inherited from TraceListener.)
Protected propertyNeedIndent
Gets or sets a value indicating whether to indent the output.
(Inherited from TraceListener.)
Public propertyTraceOutputOptions
Gets or sets the trace output options.
(Inherited from TraceListener.)
Top
See Also