Package org. danbrough. klog
Types
Link copied to clipboard
open class DefaultLogRegistry( level: Level = Level.WARN, formatter: KMessageFormatter = KMessageFormatters.simple, writer: KLogWriter = KLogWriters.noop) : KLogRegistry
Content copied to clipboard
Link copied to clipboard
data class KLogImpl( registry: KLogRegistry, val name: String, _level: Level, _writer: KLogWriter, _messageFormatter: KMessageFormatter, _nameFormatter: KNameFormatter? = null) : KLog
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias KMessageFormatter = (String, Level, String, Throwable?, StatementContext) -> String
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class StatementContext( val threadName: String, val threadID: String = "", val line: StatementContext.LineContext? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> T.klog( level: Level? = null, noinline writer: KLogWriter? = null, noinline messageFormatter: KMessageFormatter? = null, noinline nameFormatter: KNameFormatter? = null): KLog
Content copied to clipboard
inline fun klog( name: String, level: Level? = null, noinline writer: KLogWriter? = null, noinline messageFormatter: KMessageFormatter? = null, noinline nameFormatter: KNameFormatter? = null): KLog
Content copied to clipboard
inline fun klog( clazz: KClass<*>, level: Level? = null, noinline writer: KLogWriter? = null, noinline messageFormatter: KMessageFormatter? = null, noinline nameFormatter: KNameFormatter? = null): KLog
Content copied to clipboard
Link copied to clipboard