Package-level declarations
Types
Link copied to clipboard
Configuration for an individual logger.
Link copied to clipboard
Annotation that can be used to annotate a Tegral DI class and use a custom logger.
Link copied to clipboard
data class LoggingConfig(val loggers: Map<String, LoggerConfig> = mapOf(), val level: LogLevel = LogLevel.Info)
The [tegral.logging]
configuration object.
Link copied to clipboard
A feature that adds logging support to the application via the by scope()
syntax.
Properties
Link copied to clipboard
Computes the logger name for the given class, using (in orrder) a LoggerName annotation or the qualified name of the class or <anon>
.
Functions
Link copied to clipboard
Adds Tegral Logging's Logger
factory to this context builder. You do not need to call this if you are using the Tegral Logging feature. This is mostly useful for manually adding logging in test environments that do not support features (i.e. every Tegral test except integration tests).