StreamLink.NET
7.1.6-7.1.6-3952-ee12172
|
Interface for receiving log messages from the StreamLink application. More...
Public Member Functions | |
void | OnLog (Caplin.StreamLink.ILogInfo logInfo) |
Called when a StreamLink log message is to be logged. More... | |
Interface for receiving log messages from the StreamLink application.
If you wish to capture StreamLink's log messages (for example, to write them to your own log window), implement this interface, create an instance of it, and attach it to an instance of ILogger.
The following code example shows a simple anonymous implementation of LogListener
void Caplin.StreamLink.ILogListener.OnLog | ( | Caplin.StreamLink.ILogInfo | logInfo | ) |
Called when a StreamLink log message is to be logged.
logInfo | The LogInfo object, containing the log message text and log level. |
Implemented in Caplin.StreamLink.ConsoleLogListener.