DelegatableLogger can be used to easily create a logger to which will use a given delegate to actually do the logging.
Namespace:
BitFactory.LoggingAssembly: BitFactory.Logging (in BitFactory.Logging.dll) Version: 1.5.1.0 (1.5.1.0)
Syntax
| C# |
|---|
public class DelegatableLogger : Logger |
Remarks
One of two different delegates can be used:
one for handling a complete LogEntry if complicated handling is required,
the other for simply handing a pre-formatted string to be logged