Search Results for

    Show / Hide Table of Contents
    View Source

    Class LogLevelLoader

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Logging.Viewer
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class LogLevelLoader : ILogLevelLoader

    Constructors

    View Source

    LogLevelLoader(UmbracoFileConfiguration)

    Declaration
    public LogLevelLoader(UmbracoFileConfiguration umbracoFileConfig)
    Parameters
    Type Name Description
    UmbracoFileConfiguration umbracoFileConfig

    Methods

    View Source

    GetGlobalMinLogLevel()

    Get the Serilog minimum-level value from the config file.

    Declaration
    [Obsolete("Use ILogViewerService.GetGlobalMinLogLevel instead. Scheduled for removal in Umbraco 15.")]
    public LogEventLevel? GetGlobalMinLogLevel()
    Returns
    Type Description
    LogEventLevel?
    View Source

    GetLogLevelsFromSinks()

    Get the Serilog level values of the global minimum and the UmbracoFile one from the config file.

    Declaration
    [Obsolete("Use ILogViewerService.GetLogLevelsFromSinks instead. Scheduled for removal in Umbraco 15.")]
    public ReadOnlyDictionary<string, LogEventLevel?> GetLogLevelsFromSinks()
    Returns
    Type Description
    ReadOnlyDictionary<string, LogEventLevel?>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX