XrLog.Level


public final class XrLog.Level implements Comparable


Describes the priority of a log message.

Summary

Public fields

static final @NonNull XrLog.Level

Debug messages log noisy information related to the internals of the system.

static final @NonNull XrLog.Level

Error logs are reserved for something unexpected that will lead to a crash or data loss.

static final @NonNull XrLog.Level

Info messages log standard, useful information about the state of the system.

static final @NonNull XrLog.Level

Verbose messages contain extra noisy information, often used for detailed tracing.

static final @NonNull XrLog.Level

Warning logs are used when something unexpected may lead to a crash or fatal exception later on as a result of the unusual circumstances.

Public methods

int

Public fields

DEBUG

public static final @NonNull XrLog.Level DEBUG

Debug messages log noisy information related to the internals of the system.

ERROR

public static final @NonNull XrLog.Level ERROR

Error logs are reserved for something unexpected that will lead to a crash or data loss.

INFO

public static final @NonNull XrLog.Level INFO

Info messages log standard, useful information about the state of the system.

VERBOSE

public static final @NonNull XrLog.Level VERBOSE

Verbose messages contain extra noisy information, often used for detailed tracing.

WARN

public static final @NonNull XrLog.Level WARN

Warning logs are used when something unexpected may lead to a crash or fatal exception later on as a result of the unusual circumstances.

Public methods

compareTo

Added in 1.0.0-alpha13
public int compareTo(@NonNull XrLog.Level other)