Click or drag to resize

BaseLogSource Class

The base implementation ILogSource.
Inheritance Hierarchy

Namespace:  StockSharp.Logging
Assembly:  StockSharp.Logging (in StockSharp.Logging.dll) Version: 4.3.27.2 (4.3.27.2)
Syntax
C#
public abstract class BaseLogSource : Disposable, 
	ILogSource, IDisposable, IPersistable

The BaseLogSource type exposes the following members.

Constructors
  NameDescription
Protected methodBaseLogSource
Initialize BaseLogSource.
Top
Properties
  NameDescription
Public propertyCurrentTime
Current time, which will be passed to the Time.
Public propertyId
The unique identifier of the source.
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
Public propertyLogLevel
The logging level. The default is set to Inherit.
Public propertyName
Source name (to distinguish in log files).
Public propertyParent
Parent.
Top
Methods
  NameDescription
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged (Inherited from Disposable.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseLog
To call the event Log.
Public methodSave
Save settings.
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
Top
Extension Methods
  NameDescription
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