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 |
---|---|---|
ILog |
logViewerService | |
IUmbraco |
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 |
---|---|---|
Cancellation |
cancellationToken | |
System. |
skip | The amount of items to skip. |
System. |
take | The amount of items to take. |
Returns
Type | Description |
---|---|
Task<Action |
The paged result of the configured loggers and their level. |