Click or drag to resize

LoggingHelper Class

Extension class for ILogSource.
Inheritance Hierarchy
SystemObject
  StockSharp.LoggingLoggingHelper

Namespace:  StockSharp.Logging
Assembly:  StockSharp.Logging (in StockSharp.Logging.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static class LoggingHelper

The LoggingHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDebugLog
To record a debug message to the log.
Public methodStatic memberAddErrorLog(String, Object)
To record an error to the log.
Public methodStatic memberAddErrorLog(ILogReceiver, Exception)
To record an error to the log.
Public methodStatic memberAddErrorLog(ILogReceiver, FuncString)
To record an error to the log.
Public methodStatic memberAddErrorLog(ILogReceiver, Exception, String)
To record an error to the log.
Public methodStatic memberAddErrorLog(ILogReceiver, String, Object)
To record an error to the log.
Public methodStatic memberAddInfoLog(ILogReceiver, FuncString)
To record a message to the log.
Public methodStatic memberAddInfoLog(ILogReceiver, String, Object)
To record a message to the log.
Public methodStatic memberAddLog
To record a message to the log.
Public methodStatic memberAddVerboseLog
To record a verbose message to the log.
Public methodStatic memberAddWarningLog(ILogReceiver, FuncString)
To record a warning to the log.
Public methodStatic memberAddWarningLog(ILogReceiver, String, Object)
To record a warning to the log.
Public methodStatic memberDoWithLog(Action)
Wrap the specified action in try/catch clause with logging.
Public methodStatic memberDoWithLogT(FuncT)
Wrap the specified action in try/catch clause with logging.
Public methodStatic memberGetLogLevel
Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.
Public methodStatic memberLogError
To record an error to the Application.
Top
See Also