Package org.hippoecm.frontend.service
Enum NgxLoggerLevel
- java.lang.Object
-
- java.lang.Enum<NgxLoggerLevel>
-
- org.hippoecm.frontend.service.NgxLoggerLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<NgxLoggerLevel>
public enum NgxLoggerLevel extends Enum<NgxLoggerLevel>
Represents the possible logger levels of the ngx logger service. See https://github.com/dbfannin/ngx-logger/blob/master/src/lib/types/logger-level.enum.ts for the source code of the typescript enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NgxLoggerLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static NgxLoggerLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
public static final NgxLoggerLevel TRACE
-
DEBUG
public static final NgxLoggerLevel DEBUG
-
INFO
public static final NgxLoggerLevel INFO
-
LOG
public static final NgxLoggerLevel LOG
-
WARN
public static final NgxLoggerLevel WARN
-
ERROR
public static final NgxLoggerLevel ERROR
-
FATAL
public static final NgxLoggerLevel FATAL
-
OFF
public static final NgxLoggerLevel OFF
-
-
Method Detail
-
values
public static NgxLoggerLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NgxLoggerLevel c : NgxLoggerLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NgxLoggerLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-