Check if log at this level would be logged to file or LogEventProvider.
Namespace: BasicCard.LoggingAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public bool LogThisLevel( BasicCardLogLevel l ) |
Visual Basic |
---|
Public Function LogThisLevel ( l As BasicCardLogLevel ) As Boolean |
Visual C++ |
---|
public: bool LogThisLevel( BasicCardLogLevel l ) |
F# |
---|
member LogThisLevel : l : BasicCardLogLevel -> bool |
Parameters
- l
- Type: BasicCard.Logging..::..BasicCardLogLevel
Log level to check
Return Value
Type: BooleanTrue if logging at this level would be logged
Remarks
Use this function before performing time consuming operations
to format log message in time critical operations. If this function
returns false this operations can be skipped.