Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public enum Level

  1. Object
  2. Enum<Level>
  3. Level

ImplementsComparable<Level>

The severity of a log line, lowest first. A logger set to a level writes that level and every one above it.

Enum constants

TRACE
DEBUG
INFO
WARN
ERROR
OFF

Methods

public static Level[] values()
public static Level valueOf(String name)
public static Level parse(String value)The level a configuration value names, ignoring case, or null for one this does not know.

Inherited methods

Enum constant details

TRACE

TRACE

DEBUG

DEBUG

INFO

INFO

WARN

WARN

ERROR

ERROR

OFF

OFF

Method details

values

public static Level[] values()

valueOf

public static Level valueOf(String name)

parse

public static Level parse(String value)
The level a configuration value names, ignoring case, or null for one this does not know. Compared without toUpperCase, which is locale sensitive: on a Turkish host “info” would not fold to “INFO”.