Class EmailLoggerConfig
- Namespace
- FishMMO.Logging
- Assembly
- FishMMO-Logger.dll
Configuration for the EmailLogger.
public class EmailLoggerConfig : ILoggerConfig
- Inheritance
-
EmailLoggerConfig
- Implements
- Inherited Members
Constructors
EmailLoggerConfig()
public EmailLoggerConfig()
Properties
AllowedLevels
The set of log levels that this email logger is allowed to process. Default: Only Error and Critical levels.
public HashSet<LogLevel> AllowedLevels { get; set; }
Property Value
Enabled
Gets or sets whether the logger associated with this configuration is enabled.
public bool Enabled { get; set; }
Property Value
FromAddress
public string FromAddress { get; set; }
Property Value
LoggerType
A discriminator property used during JSON deserialization to identify the concrete Logger type.
public string LoggerType { get; set; }
Property Value
SmtpHost
public string SmtpHost { get; set; }
Property Value
SmtpPassword
public string SmtpPassword { get; set; }
Property Value
SmtpPort
public int SmtpPort { get; set; }
Property Value
SmtpUsername
public string SmtpUsername { get; set; }
Property Value
SubjectPrefix
public string SubjectPrefix { get; set; }
Property Value
ToAddresses
public List<string> ToAddresses { get; set; }
Property Value
Type
A discriminator property used during JSON deserialization to identify the concrete Logger Config type.
public string Type { get; set; }