Log.LogLevel
Package: velox.api.layer1.common
Type: Enum
Enclosing class: Log
Inheritance: java.lang.Object รขโ โ java.lang.Enum<Log.LogLevel> รขโ โ Log.LogLevel
All Implemented Interfaces: Serializable, Comparable<Log.LogLevel>, Constable
Enum Constantsโ
TRACEโ
public static final Log.LogLevel TRACE
Trace messages. A lot of information is logged, so this level is usually only needed when debugging a problem.
DEBUGโ
public static final Log.LogLevel DEBUG
Debug messages. This level is useful during development.
INFOโ
public static final Log.LogLevel INFO
Informative messages. Typically used for deployment.
WARNโ
public static final Log.LogLevel WARN
Important warnings. The application will continue to work correctly.
ERRORโ
public static final Log.LogLevel ERROR
Critical errors. The application may no longer work correctly.
TRADINGโ
public static final Log.LogLevel TRADING
Information related to trading activity. Used for debugging trading issues.
NO_LOGโ
public static final Log.LogLevel NO_LOG
Unrealistically high level used to disable logs
Fieldsโ
levelAsIntโ
public final int levelAsInt
Integer representing log level. Used for comparing log levels (more/less critical)
Methodsโ
valuesโ
public static Log.LogLevel[] values()
Returns an array containing the constants of this enum class, in the order they are declared.
Returns: An array containing the constants of this enum class, in the order they are declared
valueOfโ
public static Log.LogLevel valueOf(String name)
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
Parameters:
name- The name of the enum constant to be returned.
Returns: The enum constant with the specified name
Throws:
IllegalArgumentException- If this enum class has no constant with the specified nameNullPointerException- If the argument is null
fromIntโ
public static Log.LogLevel fromInt(int levelAsInt)
allowsโ
public boolean allows(Log.LogLevel level)