ILogSink.

IsEnabled(LogEventLevel, string) Method

Summary

Checks if given log level and area is enabled.
Namespace
Avalonia.Logging
Containing Type
ILogSink

Syntax

bool IsEnabled(LogEventLevel level, string area)

Parameters

Name Type Description
level LogEventLevel The log event level.
area string The log area.

Return Value

Type Description
bool if given log level is enabled.