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
ILogSourceSender.
settings
HydraCommonSettings
Properties
From
The address, on whose behalf the message will be sent.
public override string From { get; }
Property Value
To
The address to which the message will be sent to.
public override string To { get; }
Property Value
Methods
GetSubject(LogMessage)
To create a header.
protected override string GetSubject(LogMessage message)
Parameters
message
LogMessageA debug message.
Returns
- string
Header.
OnWriteMessage(LogMessage)
To record a message.
protected override void OnWriteMessage(LogMessage message)
Parameters
message
LogMessageA debug message.