public interface ILogAdapter
Member | Description | |
---|---|---|
Clear | Clears the Log store completely public bool Clear();
public bool Clear(int countToLeave);
|
|
CreateLog | Creates the a standard Log store if it doesn't exist public bool CreateLog();
|
|
DeleteLog | Deletes the log file completely public bool DeleteLog();
|
|
GetEntries | Retrieves a filtered list of entries public IDataReader GetEntries(ErrorLevels errorLevel,
int count, DateTime? dateFrom, DateTime? dateTo, string FieldList); |
|
GetEntry | Retireves an individual entry from the log public WebLogEntry GetEntry(int id);
|
|
GetEntryList | Returns a filtered list of entries as a strongly typed list public IEnumerable<WebLogEntry> GetEntryList(ErrorLevels errorLevel,
int count, DateTime? dateFrom, DateTime? dateTo, string FieldList); |
|
WriteEntry | Writes an entry into the log public bool WriteEntry(WebLogEntry webEntry);
|
|
ConnectionString | ConnectionString or other string that identifies the output medium | |
LogFilename | The name of the log file if a file is involved |