Westwind.Utilities.Logging.XmlLogAdapter
public class XmlLogAdapter : object, ILogAdapter
Class Members
Member | Description | |
---|---|---|
Constructor |
||
Clear |
Clears out all items from the XML log - in effect deletes the log file. public sealed bool Clear() public sealed bool Clear(int countToLeave) public sealed bool Clear(decimal daysToDelete) |
|
CreateLog |
Does nothing for the XmlLogAdapter - log is created with first new entry instead public sealed bool CreateLog() |
|
DeleteLog |
Deletes the XML log file public sealed bool DeleteLog() |
|
GetEntries |
public IDataReader GetEntries() public sealed IDataReader GetEntries(ErrorLevels errorLevel, int count, DateTime? dateFrom, DateTime? dateTo, string fieldList) |
|
GetEntry |
Returns an individual entry entity public sealed WebLogEntry GetEntry(int id) |
|
GetEntryCount |
public sealed int GetEntryCount(ErrorLevels errorLevel) |
|
GetEntryList |
Not implemented yet public sealed IEnumerable |
|
WriteEntry |
Writes an entry to the log public sealed bool WriteEntry(WebLogEntry entry) |
|
ConnectionString |
The Xml Connection string is the filename | |
LogFilename |
The name of the file where we're logging to |
Requirements
Namespace: Westwind.Utilities.LoggingAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic