Table of Contents

Class HydraEmailLogListener

Namespace
StockSharp.Hydra.Core
Assembly
StockSharp.Hydra.Core.dll
public class HydraEmailLogListener : EmailLogListener, ILogListener, IPersistable, IDisposable
Inheritance
HydraEmailLogListener
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

HydraEmailLogListener(ILogSource, HydraCommonSettings)

Initializes a new instance of the HydraEmailLogListener.

public HydraEmailLogListener(ILogSource sender, HydraCommonSettings settings)

Parameters

sender ILogSource

Sender.

settings HydraCommonSettings

HydraCommonSettings

Properties

From

The address, on whose behalf the message will be sent.

public override string From { get; }

Property Value

string

To

The address to which the message will be sent to.

public override string To { get; }

Property Value

string

Methods

GetSubject(LogMessage)

To create a header.

protected override string GetSubject(LogMessage message)

Parameters

message LogMessage

A debug message.

Returns

string

Header.

OnWriteMessage(LogMessage)

To record a message.

protected override void OnWriteMessage(LogMessage message)

Parameters

message LogMessage

A debug message.