NLogTarget Properties |
The TblEventLogTargetNLogTarget type exposes the following members.
| Name | Description | |
|---|---|---|
| IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) | |
| Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.) | |
| LayoutWithLock | Obsolete.
NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time.
This ensure high concurrency with no lock-congestion for the application-threads, especially when using AsyncTargetWrapper
or AsyncTaskTarget.
But if using custom Layout or LayoutRenderer that are not
threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one
to update to NLog 5.0 without having to fix custom/external layout-dependencies.
(Inherited from Target.) | |
| LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Target.) | |
| Name |
Gets or sets the name of the target.
(Inherited from Target.) | |
| OptimizeBufferReuse | Obsolete.
Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers
Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit
(Inherited from Target.) | |
| SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) |