Package frc.lib5k.utils
Enum RobotLogger.Level
- java.lang.Object
-
- java.lang.Enum<RobotLogger.Level>
-
- frc.lib5k.utils.RobotLogger.Level
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RobotLogger.Level>
- Enclosing class:
- RobotLogger
public static enum RobotLogger.Level extends java.lang.Enum<RobotLogger.Level>
Log level The kRobot level will immediately push to the console, everything else is queued until the next notifier cycle
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RobotLogger.Level
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RobotLogger.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kRobot
public static final RobotLogger.Level kRobot
-
kInfo
public static final RobotLogger.Level kInfo
-
kWarning
public static final RobotLogger.Level kWarning
-
kLibrary
public static final RobotLogger.Level kLibrary
-
-
Method Detail
-
values
public static RobotLogger.Level[] 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 (RobotLogger.Level c : RobotLogger.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RobotLogger.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-