View Source
Interface ILogViewerRepository
Assembly: Umbraco.Core.dll
Syntax
public interface ILogViewerRepository
Methods
View Source
GetGlobalMinLogLevel()
Gets the minimum-level log value from the config file.
Declaration
LogLevel GetGlobalMinLogLevel()
Returns
View Source
GetLogCount(LogTimePeriod)
Returns the number of the different log level entries.
Declaration
LogLevelCounts GetLogCount(LogTimePeriod logTimePeriod)
Parameters
Returns
View Source
GetLogs(LogTimePeriod, String)
Returns the collection of log entries.
Declaration
IEnumerable<ILogEntry> GetLogs(LogTimePeriod logTimePeriod, string filterExpression = null)
Parameters
Type |
Name |
Description |
LogTimePeriod |
logTimePeriod |
|
System.String |
filterExpression |
|
Returns
View Source
GetMessageTemplates(LogTimePeriod)
Returns a list of all unique message templates and their counts.
Declaration
LogTemplate[] GetMessageTemplates(LogTimePeriod logTimePeriod)
Parameters
Returns
View Source
RestrictedToMinimumLevel()
Get the minimum-level log value from the config file.
Declaration
LogLevel RestrictedToMinimumLevel()
Returns