Class ExternalLogListener
- Namespace
- StockSharp.Logging
- Assembly
- StockSharp.Logging.dll
The logger sending messages to the external recipient ILogListener.
public class ExternalLogListener : LogListener, ILogListener, IPersistable, IDisposable
- Inheritance
-
ExternalLogListener
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
ExternalLogListener(ILogListener)
Initializes a new instance of the ExternalLogListener.
public ExternalLogListener(ILogListener logger)
Parameters
logger
ILogListenerExternal recipient of messages.
Properties
Logger
External recipient of messages.
public ILogListener Logger { get; }
Property Value
Methods
OnWriteMessages(IEnumerable<LogMessage>)
To record messages.
protected override void OnWriteMessages(IEnumerable<LogMessage> messages)
Parameters
messages
IEnumerable<LogMessage>Debug messages.