isErrorEnabled abstract method

bool isErrorEnabled()

Checks if this logger is enabled for the Error level.

The property should be true if this logger is enabled for Error events, false otherwise.
This property is intended to lessen the computational cost of disabled log Error statements. Note that even if the property is false, Error log lines may be received anyway by the Error methods.

Returns true if the Error logger is enabled

Implementation

bool isErrorEnabled();