C# Class EnergyTrading.Logging.Log4Net.CachedSmtpAppender

Inheritance: log4net.Appender.SmtpAppender
Show file Open project: RWE-Nexus/EnergyTrading-Core

Public Methods

Method Description
ActivateOptions ( ) : void

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void
SendEmail ( string messageBody ) : void

Private Methods

Method Description
AddNewCacheItem ( log4net.Core.LoggingEvent loggingEvent ) : EnergyTrading.Logging.Log4Net.LoggingEventCacheItem
GetPreviousOccurrences ( System.Runtime.Caching.MemoryCache cache, log4net.Core.LoggingEvent loggingEvent ) : IList
SetRepeatMessage ( log4net.Core.LoggingEvent loggingEvent, IList cachedOccurrences ) : void
SetSubject ( log4net.Core.LoggingEvent loggingEvent ) : void

Method Details

ActivateOptions() public method

public ActivateOptions ( ) : void
return void

Append() protected method

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
return void

SendEmail() protected method

protected SendEmail ( string messageBody ) : void
messageBody string
return void