Interface ILogAdapter

public interface ILogAdapter

Interface Members

MemberDescription

Clear

Clears the Log store completely

public bool Clear()

public bool Clear(int countToLeave)

public bool Clear(decimal daysToClear)

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)

GetEntryCount

Returns a count of total log entries

public int GetEntryCount(ErrorLevels errorLevel)

GetEntryList

Returns a filtered list of entries as a strongly typed list

public IEnumerable 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

Requirements

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

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic