Table of Contents

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

HashSet<LogLevel>

Enabled

Gets or sets whether the logger associated with this configuration is enabled.

public bool Enabled { get; set; }

Property Value

bool

FromAddress

public string FromAddress { get; set; }

Property Value

string

LoggerType

A discriminator property used during JSON deserialization to identify the concrete Logger type.

public string LoggerType { get; set; }

Property Value

string

SmtpHost

public string SmtpHost { get; set; }

Property Value

string

SmtpPassword

public string SmtpPassword { get; set; }

Property Value

string

SmtpPort

public int SmtpPort { get; set; }

Property Value

int

SmtpUsername

public string SmtpUsername { get; set; }

Property Value

string

SubjectPrefix

public string SubjectPrefix { get; set; }

Property Value

string

ToAddresses

public List<string> ToAddresses { get; set; }

Property Value

List<string>

Type

A discriminator property used during JSON deserialization to identify the concrete Logger Config type.

public string Type { get; set; }

Property Value

string