C# Class CoreTechs.Logging.Targets.FileTarget

Inheritance: Target, IConfigurable, IDisposable
Datei anzeigen Open project: Core-Techs/Logging Class Usage Examples

Public Methods

Method Description
Configure ( System.Xml.Linq.XElement xml ) : void
Dispose ( ) : void
FileTarget ( ) : System
Write ( LogEntry entry ) : void

Private Methods

Method Description
CreateLogFile ( FileInfo file ) : LogFile
DeleteOldLogFiles ( ) : void
GetNextLogFile ( ) : LogFile
Init ( ) : void
IsPathDirectory ( [ path ) : bool

Method Details

Configure() public method

public Configure ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

Dispose() public method

public Dispose ( ) : void
return void

FileTarget() public method

public FileTarget ( ) : System
return System

Write() public method

public Write ( LogEntry entry ) : void
entry LogEntry
return void