English | 简体中文

api-docs / me.liuwj.ktorm.logging

Package me.liuwj.ktorm.logging

Simple logging facade of Ktorm, provides adapters for variable logging frameworks.

Types

NameSummary

AndroidLoggerAdapter

class AndroidLoggerAdapter : Logger

Adapter Logger implementation integrating
android.util.Log with Ktorm.

CommonsLoggerAdapter

class CommonsLoggerAdapter : Logger

Adapter Logger implementation integrating Apache Commons Logging with Ktorm.

ConsoleLogger

class ConsoleLogger : Logger

Simple Logger implementation printing logs to the console. While messages at WARN or ERROR levels are printed to
System.err, others are printed to System.out.

JdkLoggerAdapter

class JdkLoggerAdapter : Logger

Adapter Logger implementation integrating java.util.logging with Ktorm.

Logger

interface Logger

A simple logging interface abstracting third-party logging frameworks.

LogLevel

enum class LogLevel

Enum class defining logging levels in a certain order. While TRACE is the least serious
and ERROR is the most serials.

Slf4jLoggerAdapter

class Slf4jLoggerAdapter : Logger

Adapter Logger implementation integrating Slf4j with Ktorm.