Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
package com.codename1.backend.log
Application logging:
Logger, in the shape slf4j’s is, with levels set by
logging.level.* settings, a per-thread MDC context, and a replaceable
LogSink.Types
enum Level | The severity of a log line, lowest first. |
interface LogSink | Where log lines go. |
class Logger | An application logger in the shape slf4j’s is, writing through Logging. |
class Logging | The logging configuration: per-logger levels and where lines go. |
class MDC | A per-thread context map appended to every line logged on that thread, as slf4j’s MDC is: put a request id once and every line of that request carries it. |