Class SetCategoryVerbosity
Use case for setting the verbosity level of a specific logging category.
Inherited Members
Namespace: Serenity.Logging.Application.UseCases
Assembly: Serenity.Global.Application.dll
Syntax
public class SetCategoryVerbosity : ISyncUseCase<SetCategoryVerbosityInput>, IUseCase
Constructors
SetCategoryVerbosity(ILogService)
Initializes a new instance of the SetCategoryVerbosity class.
Declaration
public SetCategoryVerbosity(ILogService service)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | service | The logging service to use. |
Methods
Execute(SetCategoryVerbosityInput)
Executes the use case with the given input.
Declaration
public void Execute(SetCategoryVerbosityInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| SetCategoryVerbosityInput | input | The input parameter for the use case. |