Namespace actionETL.Logging.NLogExternal
Contains the adapter and extensions for the NLog library, which is the default implementation for actionETL.Logging.
Also see Logging.
Classes
CurrentTaskIdLayoutRenderer
Renders the identifier of the current Task, or an empty string if not within a Task.
Not used directly by the library user.
NLogDisposableFactory
An actionETL logging factory implementation, using NLog for the logging. Use this class to create your own log factory instance, which can be injected into worker systems, and/or used outside worker systems.
This class is the same as NLogFactory, except that it handles the scenarios where the logging factory must be disposed after use.
NLogFactory
The default actionETL logging factory implementation, using NLog for the logging, that the worker system use if no logging factory is injected into it. Use this class to create your own log factory instance, which can be injected into worker systems, and/or used outside worker systems.
Also see NLogDisposableFactory, which handles the scenarios where the logging factory must be disposed after use.
NLogLogService
Wraps an NLog logger, and is used by NLogFactory.
Not used directly by the library user.
See NLog Logger for more details on the underlying logger.
ThrottleTargetWrapper
An optional wrapper target that aggregates similar consecutive log messages, which can be
useful when enabling Debug or Trace logging with high volume data.
The aggregation only applies to messages that have the same:
Log level, Locator, Category, ThreadId (if present), and Message.
To use this, add a wrapper target of type "ThrottleTargetWrapper" to the NLog configuration.