public static enum Logger.Colors extends java.lang.Enum<Logger.Colors>
Enum Constant and Description |
---|
BLUE |
GREEN |
NONE |
PURPLE |
RED |
YELLOW |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,Logger.Colors> |
agentsColor |
java.lang.String |
code |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.String msg) |
java.lang.String |
formatBold(java.lang.String msg) |
static Logger.Colors |
getColorForAgent(java.lang.String agent) |
static Logger.Colors |
random() |
static Logger.Colors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.Colors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.Colors BLUE
public static final Logger.Colors GREEN
public static final Logger.Colors RED
public static final Logger.Colors YELLOW
public static final Logger.Colors PURPLE
public static final Logger.Colors NONE
public java.lang.String code
public static java.util.Map<java.lang.String,Logger.Colors> agentsColor
public static Logger.Colors[] values()
for (Logger.Colors c : Logger.Colors.values()) System.out.println(c);
public static Logger.Colors valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String format(java.lang.String msg)
public java.lang.String formatBold(java.lang.String msg)
public static Logger.Colors random()
public static Logger.Colors getColorForAgent(java.lang.String agent)
ORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011