arch-lumber
1.2.0indexedLightweight, type-safe logging with a simple API, multiple levels, prebuilt DebugOaks for common backends, composable thread-safe Oak system and easy extensibility.
2
Stars
1
Used by
dependents
—
Health
/ 100
Lightweight, type-safe logging with a simple API, multiple levels, prebuilt DebugOaks for common backends, composable thread-safe Oak system and easy extensibility.
Arch Lumber is a Kotlin Multiplatform logging library with a small public API and platform-specific
DebugOak defaults.
2.4.09.5.121 via the Gradle toolchain and Foojay resolverminSdk 20 and compileSdk 36Lumber is the logging entry pointLumber.Oak is the extension point for custom sinksDebugOak gives you platform defaults out of the boxCONTRIBUTING.md.Lumber.plant(DebugOak())
Lumber.info("App started")
dependencies {
implementation("io.github.matheus-corregiari:arch-lumber:<latest>")
}
Lumber.plant(DebugOak())
Lumber.debug("User %s signed in", userName)
Lumber.warn("Cache miss for %s", cacheKey)
Lumber.error(exception, "Operation failed")
val authLog = Lumber.tag("Auth")
authLog.info("Session created")
authLog.info("Session refreshed")
class AnalyticsOak : Lumber.Oak() {
override fun isLoggable(tag: String?, level: Lumber.Level) = level >= Lumber.Level.Info
override {
Analytics.track(level.name, tag, message, error)
}
}
Lumber.plant(AnalyticsOak())
| Target | Default DebugOak output |
|---|
Copyright 2025 Matheus Corregiari
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| Android | android.util.Log |
| JVM | ANSI colored stdout |
| Apple | ANSI colored stdout |
| JS / WasmJS | native console |
| Area | Current value |
|---|
| Kotlin | 2.4.0 |
| Gradle wrapper | 9.5.1 |
| JDK toolchain | 21 |
| Android | minSdk 20, compileSdk 36 |
| Published targets | Android, JVM, Apple, JS, WasmJS |
Surfaced from shared tags and platforms — no rankings paid for.