Class SilverbackBuilderWithLogLevelsExtensions
Adds the WithLogLevels
method to the ISilverbackBuilder.
Inheritance
System.Object
SilverbackBuilderWithLogLevelsExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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. |
System.Action<ILogLevelConfigurator> | logLevelsConfigurationAction | The log levels configuration action. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |