Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
ILogger.IsWarnEnabled Property

Checks if this logger is enabled for the Warn level. 

The property should be true if this logger is enabled for Warn events, false otherwise. 

This property is intended to lessen the computational cost of disabled log Warn statements. Note that even if the property is false, Warn log lines may be received anyway by the Warn methods. 

 

C++
__property bool IsWarnEnabled;
C#
bool IsWarnEnabled;
Visual Basic
Property IsWarnEnabled() As bool