Class AllSinkLevelLogViewerController
Namespace: Umbraco.Cms.Api.Management.Controllers.LogViewer
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class AllSinkLevelLogViewerController : LogViewerControllerBase
Constructors
View SourceAllSinkLevelLogViewerController(ILogViewerService, IUmbracoMapper)
Declaration
public AllSinkLevelLogViewerController(ILogViewerService logViewerService, IUmbracoMapper umbracoMapper)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogViewerService | logViewerService | |
| IUmbracoMapper | umbracoMapper |
Methods
View SourceAllLogLevels(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. |