Table of Contents

Interface ILogSource

Namespace
StockSharp.Logging
Assembly
StockSharp.Logging.dll

Logs source interface.

public interface ILogSource : IDisposable
Inherited Members
Extension Methods

Properties

CurrentTime

Current time, which will be passed to the Time.

DateTimeOffset CurrentTime { get; }

Property Value

DateTimeOffset

Id

The unique identifier of the source.

Guid Id { get; }

Property Value

Guid

IsRoot

Whether the source is the root (even if Parent is not equal to null).

bool IsRoot { get; }

Property Value

bool

LogLevel

The logging level for the source.

LogLevels LogLevel { get; set; }

Property Value

LogLevels

Name

The source name.

string Name { get; set; }

Property Value

string

Parent

Parental logs source.

ILogSource Parent { get; set; }

Property Value

ILogSource

Events

Log

New debug message event.

event Action<LogMessage> Log

Event Type

Action<LogMessage>

ParentRemoved

Parent removed.

event Action<ILogSource> ParentRemoved

Event Type

Action<ILogSource>