Soul Logger Plugin
Ktor plugin for SoulLogger with Mode-aware configuration.
Features:
Automatically configures based on DEVELOPMENT or PRODUCTION mode
Respects environment variables (SOUL_LOGGER_*)
Enables/disables introspection routes based on mode
Integrates with Logback when enabled
Supports structured logging with MDC
Dynamic configuration with hot reload
Runtime log level adjustment
Health check endpoints
Installation:
// Development mode (default)
install(SoulLoggerPlugin) {
mode = ApplicationMode.DEVELOPMENT
}
// Production mode
install(SoulLoggerPlugin) {
mode = ApplicationMode.PRODUCTION
}
// Or via environment variable: SOUL_LOGGER_MODE=productionContent copied to clipboard
Author
LesterE
Since
0.1.0