error

inline fun Logger.error(msgSupplier: () -> String)
inline fun Logger.error(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if error is enabled.