Class XmlLogAdapter
West Wind Web Toolkit for ASP.NET
 Class XmlLogAdapter
System.Object
  Westwind.Utilities.Logging.XmlLogAdapter
public class XmlLogAdapter : object, ILogAdapter

Class Members

MemberDescription
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

Requirements

Namespace: Westwind.Utilities.Logging
Assembly: westwind.utilities.dll

Last Updated: 12/15/12 | © West Wind Technologies, 1996-2012
Comment or report problem with topic