Logger.

IsEnabled(LogEventLevel, string) Method

Summary

Checks if given log level is enabled.
Namespace
Avalonia.Logging
Containing Type
Logger

Syntax

public static 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.