Package-level declarations

Public surface. Log is the simple tag-based facade (Log.i, Log.withTag, Log.withClassTag, T.loggerI extensions). Logger is the structured API with a message lambda, the AttrBuilder DSL, and withContext(...) binding. LoggerFactory resolves and caches loggers by tag. LogLevel is the severity ladder (VERBOSE..FATAL, OFF).

Types

Link copied to clipboard
object Log

Simple logging API for quick, tag-based logging.

Link copied to clipboard
class Logger

A logger providing structured logging capabilities.

Link copied to clipboard

The main entry point for configuring the logging pipeline and obtaining Logger instances.

Link copied to clipboard

Defines the severity levels for log events, ordered from least to most severe.

Link copied to clipboard
class LogWrapper(tag: String)

A fixed-tag wrapper around Log.

Link copied to clipboard

Interface defining the core logging capability for structured loggers.

Properties

Link copied to clipboard

The default tag used when no explicit tag is provided to Log.

Functions

Link copied to clipboard
inline fun <T> T.loggerD(message: String)

Extension function to log a DEBUG message using the simple name of T as the tag.

Link copied to clipboard
inline fun <T> T.loggerE(message: String, throwable: Throwable? = null)

Extension function to log an ERROR message using the simple name of T as the tag.

Link copied to clipboard
inline fun <T> T.loggerFatal(message: String, throwable: Throwable? = null)

Extension function to log a FATAL message using the simple name of T as the tag.

Link copied to clipboard
inline fun <T> T.loggerI(message: String)

Extension function to log an INFO message using the simple name of T as the tag.

Link copied to clipboard
inline fun <T> T.loggerV(message: String)

Extension function to log a VERBOSE message using the simple name of T as the tag.

Link copied to clipboard
inline fun <T> T.loggerW(message: String, throwable: Throwable? = null)

Extension function to log a WARN message using the simple name of T as the tag.