public class XmlLogAdapter : object, ILogAdapter
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);
|
|
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);
|
|
GetEntryList | Not implemented yet public sealed IEnumerable<WebLogEntry> GetEntryList(ErrorLevels errorLevel,
int count, DateTime? dateFrom, DateTime? dateTo, string fieldList); |
|
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 |