Class LogLevelLoader
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Logging.Viewer
Assembly: cs.temp.dll.dll
Syntax
public class LogLevelLoader : ILogLevelLoader
Constructors
LogLevelLoader(UmbracoFileConfiguration)
Declaration
public LogLevelLoader(UmbracoFileConfiguration umbracoFileConfig)
Parameters
Type | Name | Description |
---|---|---|
Umbraco |
umbracoFileConfig |
Methods
GetGlobalMinLogLevel()
Get the Serilog minimum-level value from the config file.
Declaration
public LogEventLevel GetGlobalMinLogLevel()
Returns
Type | Description |
---|---|
Log |
GetLogLevelsFromSinks()
Get the Serilog level values of the global minimum and the UmbracoFile one from the config file.
Declaration
public ReadOnlyDictionary<string, LogEventLevel> GetLogLevelsFromSinks()
Returns
Type | Description |
---|---|
Read |