Package org.kodein.log

Types

Instant
Link copied to clipboard
class Instant
typealias Instant = <ERROR CLASS>
class Instant(tv_sec: <ERROR CLASS>, tv_nsec: Long)
LogFilter
Link copied to clipboard
common
fun fun interface LogFilter
LogFrontend
Link copied to clipboard
common
fun fun interface LogFrontend
Logger
Link copied to clipboard
common
class Logger(tag: Logger.Tag, frontEnds: Collection<LogFrontend>, filters: List<LogFilter>, mappers: List<LogMapper>)
LoggerFactory
Link copied to clipboard
common
class LoggerFactory(frontends: Collection<LogFrontend>, filters: List<LogFilter>, mappers: List<LogMapper>)
LogMapper
Link copied to clipboard
common
fun fun interface LogMapper
LogReceiver
Link copied to clipboard
common
fun fun interface LogReceiver

Functions

newLogger
Link copied to clipboard
common
inline fun <T> LoggerFactory.newLogger(): Logger
inline fun <T> T.newLogger(factory: LoggerFactory): Logger
fun LoggerFactory.newLogger(cls: KClass<*>): Logger
fun LoggerFactory.newLogger(pkg: String, name: String): Logger
now
Link copied to clipboard
fun now(): Instant
fun now(): Instant
fun now(): Instant
toLocalString
Link copied to clipboard
common
fun Instant.toLocalString(): String
withShortPackageKeepLast
Link copied to clipboard
common
fun LogFrontend.withShortPackageKeepLast(count: Int): LogFrontend
withShortPackageShortenFirst
Link copied to clipboard
common
fun LogFrontend.withShortPackageShortenFirst(count: Int): LogFrontend

Properties

platformPackageName
Link copied to clipboard
val KClass<*>.platformPackageName: String
platformSimpleName
Link copied to clipboard
val KClass<*>.platformSimpleName: String