Click or drag to resize

ILogReceiver Interface

Logs recipient interface.

Namespace:  StockSharp.Logging
Assembly:  StockSharp.Logging (in StockSharp.Logging.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public interface ILogReceiver : ILogSource, 
	IDisposable

The ILogReceiver type exposes the following members.

Properties
  NameDescription
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from ILogSource.)
Public propertyId
The unique identifier of the source.
(Inherited from ILogSource.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from ILogSource.)
Public propertyLogLevel
The logging level for the source.
(Inherited from ILogSource.)
Public propertyName
The source name.
(Inherited from ILogSource.)
Public propertyParent
Parental logs source.
(Inherited from ILogSource.)
Top
Methods
  NameDescription
Public methodAddLog
To record a message to the log.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from ILogSource.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddDebugLog
To record a debug message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(FuncString)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception, String)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(String, Object)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(FuncString)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(String, Object)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddLog
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddOrderErrorLog
Write order error to the log.
(Defined by TraderHelper.)
Public Extension MethodAddOrderInfoLog
Write order info to the log.
(Defined by TraderHelper.)
Public Extension MethodAddVerboseLog
To record a verbose message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(FuncString)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(String, Object)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodGetLogLevel
Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.
(Defined by LoggingHelper.)
Top
See Also