English | 简体中文

api-docs / org.ktorm.logging / CommonsLoggerAdapter

CommonsLoggerAdapter

class CommonsLoggerAdapter : Logger (source code)

Adapter Logger implementation integrating Apache Commons Logging with Ktorm.

Constructors

NameSummary

<init>

CommonsLoggerAdapter(loggerName: String)

Adapter Logger implementation integrating Apache Commons Logging with Ktorm.

Functions

NameSummary

debug

fun debug(msg: String, e: Throwable?): Unit

Log a message at the DEBUG level.

error

fun error(msg: String, e: Throwable?): Unit

Log a message at the ERROR level.

info

fun info(msg: String, e: Throwable?): Unit

Log a message at the INFO level.

isDebugEnabled

fun isDebugEnabled(): Boolean

Check if the logger instance enabled for the DEBUG level.

isErrorEnabled

fun isErrorEnabled(): Boolean

Check if the logger instance enabled for the ERROR level.

isInfoEnabled

fun isInfoEnabled(): Boolean

Check if the logger instance enabled for the INFO level.

isTraceEnabled

fun isTraceEnabled(): Boolean

Check if the logger instance enabled for the TRACE level.

isWarnEnabled

fun isWarnEnabled(): Boolean

Check if the logger instance enabled for the WARN level.

trace

fun trace(msg: String, e: Throwable?): Unit

Log a message at the TRACE level.

warn

fun warn(msg: String, e: Throwable?): Unit

Log a message at the WARN level.

Extension Functions

NameSummary

eq

infix fun <T : Any> T.eq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Equal operator, translated to = in SQL.

neq

infix fun <T : Any> T.neq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Not-equal operator, translated to <> in SQL.

notEq

infix fun <T : Any> T.notEq(
    expr: ColumnDeclaring<T>
): BinaryExpression<Boolean>

Not-equal operator, translated to <> in SQL.