Show / Hide Table of Contents

    Class SilverbackBuilderWithLogLevelsExtensions

    Adds the WithLogLevels method to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderWithLogLevelsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Core.dll
    Syntax
    public static class SilverbackBuilderWithLogLevelsExtensions

    Methods

    | Improve this doc View source

    WithLogLevels(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.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini