Package io.realm.log
Class LogLevel
- java.lang.Object
-
- io.realm.log.LogLevel
-
public class LogLevel extends Object
The Log levels defined and used by Realm when logging events in the API.Realm uses the log levels defined by Log4J: https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html
- See Also:
RealmLog.add(RealmLogger)
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALL
The ALL has the lowest possible rank and is intended to turn on all logging.static int
DEBUG
The DEBUG level designates fine-grained informational events that are mostly useful to debug an application.static int
ERROR
The ERROR level designates error events that might still allow the application to continue running.static int
FATAL
The FATAL level designates very severe error events that will presumably lead the application to abort.static int
INFO
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.static int
OFF
The OFF has the highest possible rank and is intended to turn off logging.static int
TRACE
The TRACE level designates finer-grained informational events than DEBUG.static int
WARN
The WARN level designates potentially harmful situations.
-
Constructor Summary
Constructors Constructor Description LogLevel()
-
-
-
Field Detail
-
ALL
public static final int ALL
The ALL has the lowest possible rank and is intended to turn on all logging.- See Also:
- Constant Field Values
-
TRACE
public static final int TRACE
The TRACE level designates finer-grained informational events than DEBUG.- See Also:
- Constant Field Values
-
DEBUG
public static final int DEBUG
The DEBUG level designates fine-grained informational events that are mostly useful to debug an application.- See Also:
- Constant Field Values
-
INFO
public static final int INFO
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.- See Also:
- Constant Field Values
-
WARN
public static final int WARN
The WARN level designates potentially harmful situations.- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
The ERROR level designates error events that might still allow the application to continue running.- See Also:
- Constant Field Values
-
FATAL
public static final int FATAL
The FATAL level designates very severe error events that will presumably lead the application to abort.- See Also:
- Constant Field Values
-
OFF
public static final int OFF
The OFF has the highest possible rank and is intended to turn off logging.- See Also:
- Constant Field Values
-
-