C# Class uLogs.Providers.UmbracoLogDataProvider

Default Umbraco Log Data Provider. Handles parsing out log entries in a single log file.
Inheritance: ILogDataProvider
Datei anzeigen Open project: wkallhof/uLogs

Public Methods

Method Description
GetLogData ( System.DateTime date, string machine ) : IEnumerable

Get the log entries for a given file.

GetLogFiles ( ) : IEnumerable

Get the available log files to read logs from

UmbracoLogDataProvider ( ) : System

Private Methods

Method Description
ParseLogsFromFile ( string path ) : IEnumerable

Parses the logs from a given file path

Method Details

GetLogData() public method

Get the log entries for a given file.
public GetLogData ( System.DateTime date, string machine ) : IEnumerable
date System.DateTime Date to fetch the logs from
machine string Machine to fetch the logs from
return IEnumerable

GetLogFiles() public method

Get the available log files to read logs from
public GetLogFiles ( ) : IEnumerable
return IEnumerable

UmbracoLogDataProvider() public method

public UmbracoLogDataProvider ( ) : System
return System