Debug Oak
Android DebugOak backed by Log.
Entries are mapped to the corresponding Android log priority and written to Logcat.
See also
DebugOak (Apple)
The Apple-specific implementation of DebugOak (iOS, macOS, etc.) that logs messages to the standard output using println with ANSI color coding.
Each log level is assigned a distinct color for better visibility in the Xcode console or terminal:
Error: Red
Warn: Yellow
Info: Blue
Debug: Green
Verbose: Gray
Assert: Cyan
This implementation maps each Lumber.Level to a specific style via ColoredLog.
Default development Lumber.Oak for each supported platform.
DebugOak routes logs to the platform-native debug sink:
Android uses
android.util.LogJVM and Apple targets write colored console output
JS and WasmJS use
console
Lumber.plant(DebugOak())See also
DebugOak (JS)
The JavaScript-specific implementation of DebugOak, which delegates all log messages to the native console object.
It maps each Lumber.Level to the most appropriate console method:
Verbose:
console.logDebug:
console.logInfo:
console.infoWarn:
console.warnError:
console.errorAssert:
console.error
The output includes the level name and the tag to provide context within the browser or Node.js console.
DebugOak (JVM)
The JVM-specific implementation of DebugOak that logs messages to the standard output (stdout) with ANSI color coding.
Each log level is assigned a distinct color to improve readability in terminal environments:
Error: Red
Warn: Yellow
Info: Blue
Debug: Green
Verbose: Gray
Assert: Cyan
This implementation is ideal for server-side or desktop applications where console output is the primary means of debugging.
DebugOak (WasmJS)
The WasmJS-specific implementation of DebugOak, which delegates all log messages to the native JavaScript console object via helper functions.
It maps each Lumber.Level to the most appropriate console method:
Verbose:
console.logDebug:
console.logInfo:
console.infoWarn:
console.warnError:
console.errorAssert:
console.error
The output includes the level name and the tag to provide context within the browser or Node.js console.
Constructors
Functions
Logs a Debug throwable using its stack trace as the message body.
Logs a Debug message.
Logs a Debug error with a message.
Logs a Debug throwable using its stack trace as the message body.
Logs a Debug message.
Logs a Debug error with a message.
Logs a Debug throwable using its stack trace as the message body.
Logs a Debug message.
Logs a Debug error with a message.
Logs a Debug throwable using its stack trace as the message body.
Logs a Debug message.
Logs a Debug error with a message.
Logs a Debug throwable using its stack trace as the message body.
Logs a Debug message.
Logs a Debug error with a message.
Logs an Error throwable using its stack trace as the message body.
Logs an Error message.
Logs an Error error with a message.
Logs an Error throwable using its stack trace as the message body.
Logs an Error message.
Logs an Error error with a message.
Logs an Error throwable using its stack trace as the message body.
Logs an Error message.
Logs an Error error with a message.
Logs an Error throwable using its stack trace as the message body.
Logs an Error message.
Logs an Error error with a message.
Logs an Error throwable using its stack trace as the message body.
Logs an Error message.
Logs an Error error with a message.
Logs an Info throwable using its stack trace as the message body.
Logs an Info message.
Logs an Info error with a message.
Logs an Info throwable using its stack trace as the message body.
Logs an Info message.
Logs an Info error with a message.
Logs an Info throwable using its stack trace as the message body.
Logs an Info message.
Logs an Info error with a message.
Logs an Info throwable using its stack trace as the message body.
Logs an Info message.
Logs an Info error with a message.
Logs an Info throwable using its stack trace as the message body.
Logs an Info message.
Logs an Info error with a message.
Delegates loggability checks to Log.isLoggable using the mapped Android priority.
For Apple platforms, all log levels are considered loggable by default.
Returns whether a log entry should be emitted on the current platform.
For JS, all log levels are considered loggable by default.
For the JVM implementation, all log levels are considered loggable by default.
For WasmJS, all log levels are considered loggable by default.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Logs an error with a specific Level.
Logs a message with a specific Level and optional arguments.
Lowest-level entry point before formatting, filtering, and chunking are applied.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the next log message.
Sets a one-time maximum length for the tag on the next log message.
Sets a one-time maximum length for the tag on the next log message.
Sets a one-time maximum length for the tag on the next log message.
Sets a one-time maximum length for the tag on the next log message.
Sets a one-time maximum length for the tag on the next log message.
Sets a one-time maximum length for the tag on the next log message.
Suppresses the next log message for this Oak.
Suppresses the next log message for this Oak.
Sets a one-time tag for the next log message.
Sets a one-time tag for the next log message.
Logs a Verbose throwable using its stack trace as the message body.
Logs a Verbose message.
Logs a Verbose error with a message.
Logs a Verbose throwable using its stack trace as the message body.
Logs a Verbose message.
Logs a Verbose error with a message.
Logs a Verbose throwable using its stack trace as the message body.
Logs a Verbose message.
Logs a Verbose error with a message.
Logs a Verbose throwable using its stack trace as the message body.
Logs a Verbose message.
Logs a Verbose error with a message.
Logs a Verbose throwable using its stack trace as the message body.
Logs a Verbose message.
Logs a Verbose error with a message.
Logs a Warn throwable using its stack trace as the message body.
Logs a Warn message.
Logs a Warn error with a message.
Logs a Warn throwable using its stack trace as the message body.
Logs a Warn message.
Logs a Warn error with a message.
Logs a Warn throwable using its stack trace as the message body.
Logs a Warn message.
Logs a Warn error with a message.
Logs a Warn throwable using its stack trace as the message body.
Logs a Warn message.
Logs a Warn error with a message.
Logs a Warn throwable using its stack trace as the message body.
Logs a Warn message.
Logs a Warn error with a message.
Logs an Assert throwable using its stack trace as the message body.
Logs an Assert message.
Logs an Assert error with a message.
Logs an Assert throwable using its stack trace as the message body.
Logs an Assert message.
Logs an Assert error with a message.
Logs an Assert throwable using its stack trace as the message body.
Logs an Assert message.
Logs an Assert error with a message.
Logs an Assert throwable using its stack trace as the message body.
Logs an Assert message.
Logs an Assert error with a message.
Logs an Assert throwable using its stack trace as the message body.
Logs an Assert message.
Logs an Assert error with a message.