C# Class TrakHound.Logging.LogQueue

Queue for writing log data to an Xml file
Exibir arquivo Open project: TrakHound/TrakHound-Community

Public Methods

Method Description
AddLineToQueue ( Line line ) : void
CleanFiles ( ) : void
LogQueue ( ) : System

Private Methods

Method Description
AddToLog ( XmlDocument doc, Line line ) : void
CleanFiles ( int days, LogLineType type ) : void
CreateDocument ( string path ) : XmlDocument
CreateLineNode ( XmlDocument doc, Line line ) : XmlNode
CreateRoot ( XmlDocument doc ) : XmlNode
FormatTimestamp ( System.DateTime date ) : string
ProcessQueue ( ) : void
ProcessQueue ( LogLineType type ) : void
StartConfigurationFileWatcher ( ) : void
Watcher_Changed ( object sender, FileSystemEventArgs e ) : void
queue_TIMER_Elapsed ( object sender, System e ) : void

Method Details

AddLineToQueue() public method

public AddLineToQueue ( Line line ) : void
line Line
return void

CleanFiles() public method

public CleanFiles ( ) : void
return void

LogQueue() public method

public LogQueue ( ) : System
return System