Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoFileConfiguration

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Logging.Serilog
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoFileConfiguration

    Constructors

    View Source

    UmbracoFileConfiguration(IConfiguration)

    Declaration
    public UmbracoFileConfiguration(IConfiguration configuration)
    Parameters
    Type Name Description
    IConfiguration configuration

    Properties

    View Source

    Enabled

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    FileSizeLimitBytes

    Declaration
    public long FileSizeLimitBytes { get; set; }
    Property Value
    Type Description
    long
    View Source

    FlushToDiskInterval

    Declaration
    public TimeSpan? FlushToDiskInterval { get; set; }
    Property Value
    Type Description
    TimeSpan?
    View Source

    RestrictedToMinimumLevel

    Declaration
    public LogEventLevel RestrictedToMinimumLevel { get; set; }
    Property Value
    Type Description
    LogEventLevel
    View Source

    RetainedFileCountLimit

    Declaration
    public int RetainedFileCountLimit { get; set; }
    Property Value
    Type Description
    int
    View Source

    RollOnFileSizeLimit

    Declaration
    public bool RollOnFileSizeLimit { get; set; }
    Property Value
    Type Description
    bool
    View Source

    RollingInterval

    Declaration
    public RollingInterval RollingInterval { get; set; }
    Property Value
    Type Description
    RollingInterval

    Methods

    View Source

    GetPath(string)

    Declaration
    public string GetPath(string logDirectory)
    Parameters
    Type Name Description
    string logDirectory
    Returns
    Type Description
    string
    View Source

    GetPath(string, string, params string[])

    Declaration
    public string GetPath(string logDirectory, string fileNameFormat, params string[] fileNameArgs)
    Parameters
    Type Name Description
    string logDirectory
    string fileNameFormat
    string[] fileNameArgs
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX