Table of Contents

Interface ISilverbackLogger

Namespace
Silverback.Diagnostics
Assembly
Silverback.Core.dll

Used to perform logging in Silverback.

public interface ISilverbackLogger

Properties

InnerLogger

Gets the underlying ILogger.

ILogger InnerLogger { get; }

Property Value

ILogger

Methods

IsEnabled(LogEvent)

Checks if the given LogEvent is enabled according to its default or overridden LogLevel. An event whose LogLevel is determined by a delegate is always enabled, because the delegate can depend on the exception and the message, which are known only when the event is logged.

bool IsEnabled(LogEvent logEvent)

Parameters

logEvent LogEvent

The LogEvent to be checked.

Returns

bool

true if enabled.