Class SilverbackBuilderWithLogLevelsExtensions
Adds the WithLogLevels
method to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Core.dll
Syntax
public static class SilverbackBuilderWithLogLevelsExtensions
Methods
| Improve this doc View sourceWithLogLevels(ISilverbackBuilder, Action<ILogLevelConfigurator>)
Configures the log levels that should be used to log the standard Silverback events.
Declaration
public static ISilverbackBuilder WithLogLevels(this ISilverbackBuilder silverbackBuilder, Action<ILogLevelConfigurator> logLevelsConfigurationAction)
Parameters
Type | Name | Description |
---|---|---|
ISilverbackBuilder | silverbackBuilder | The ISilverbackBuilder. |
Action<ILogLevelConfigurator> | logLevelsConfigurationAction | The log levels configuration action. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |