C# Class CoreTechs.Logging.Targets.EmailTarget

Inheritance: Target, IConfigurable, IFlushable
Afficher le fichier Open project: Core-Techs/Logging Class Usage Examples

Méthodes publiques

Méthode Description
Configure ( System.Xml.Linq.XElement xml ) : void
Dispose ( ) : void
EmailTarget ( ) : System
Flush ( System.LogManager logMgr ) : void
Send ( string subject, string body, System.LogManager logMgr ) : void
SendEntry ( LogEntry entry ) : void
Write ( LogEntry entry ) : void

Private Methods

Méthode Description
BufferEntry ( LogEntry entry ) : void
GetBody ( LogEntry entry ) : string
GetTempFile ( ) : LogFile
OnIntervalEnding ( object sender, EventArgs eventArgs ) : void
SendBuffer ( System.LogManager logMgr ) : void

Method Details

Configure() public méthode

public Configure ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EmailTarget() public méthode

public EmailTarget ( ) : System
Résultat System

Flush() public méthode

public Flush ( System.LogManager logMgr ) : void
logMgr System.LogManager
Résultat void

Send() public méthode

public Send ( string subject, string body, System.LogManager logMgr ) : void
subject string
body string
logMgr System.LogManager
Résultat void

SendEntry() public méthode

public SendEntry ( LogEntry entry ) : void
entry LogEntry
Résultat void

Write() public méthode

public Write ( LogEntry entry ) : void
entry LogEntry
Résultat void