Search Results for

    Show / Hide Table of Contents
    View Source

    Class AllSinkLevelLogViewerController

    Inheritance
    System.Object
    ManagementApiControllerBase
    LogViewerControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.LogViewer
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class AllSinkLevelLogViewerController : LogViewerControllerBase

    Constructors

    View Source

    AllSinkLevelLogViewerController(ILogViewerService, IUmbracoMapper)

    Declaration
    public AllSinkLevelLogViewerController(ILogViewerService logViewerService, IUmbracoMapper umbracoMapper)
    Parameters
    Type Name Description
    ILogViewerService logViewerService
    IUmbracoMapper umbracoMapper

    Methods

    View Source

    AllLogLevels(CancellationToken, Int32, Int32)

    Gets a paginated list of all loggers' levels.

    Declaration
    public async Task<ActionResult<PagedViewModel<LoggerResponseModel>>> AllLogLevels(CancellationToken cancellationToken, int skip = 0, int take = 100)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    System.Int32 skip

    The amount of items to skip.

    System.Int32 take

    The amount of items to take.

    Returns
    Type Description
    Task<ActionResult<PagedViewModel<LoggerResponseModel>>>

    The paged result of the configured loggers and their level.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • AllSinkLevelLogViewerController(ILogViewerService, IUmbracoMapper)
    • Methods
      • AllLogLevels(CancellationToken, Int32, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX