isErrorEnabled

expect abstract val isErrorEnabled: Boolean

Is the logger instance enabled for the ERROR level?

Return

True if this Logger is enabled for the ERROR level, false otherwise.

abstract fun isErrorEnabled(marker: Marker?): Boolean

Similar to .isErrorEnabled method except that the marker data is also taken into consideration.

Return

True if this Logger is enabled for the ERROR level, false otherwise.

Parameters

marker

The marker data to take into consideration