public enum OfLog extends Enum<OfLog>
Sample usage:
private static final Logger log = OfLog.OF_PACKET_SEQUENCER.getLogger();
Enum Constant and Description |
---|
OF_CONTROLLER
OpenFlow core controller.
|
OF_FLOW_TRACKER
OpenFlow flow tracker.
|
OF_MESSAGE_LIBRARY
OpenFlow Message Library.
|
OF_MOCK_SWITCH
OpenFlow Mock Switch.
|
OF_MSG_SENDER
OpenFlow message satisfier.
|
OF_PACKET_SEQUENCER
OpenFlow packet sequencer.
|
OF_PIPELINE_MANAGER
OpenFlow pipeline manager.
|
ROOT
SDN root logger.
|
Modifier and Type | Method and Description |
---|---|
org.slf4j.Logger |
getLogger()
Returns the logger associated with this enumeration constant.
|
String |
getName()
Returns the Logger path name.
|
static OfLog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfLog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfLog ROOT
public static final OfLog OF_MESSAGE_LIBRARY
public static final OfLog OF_MOCK_SWITCH
public static final OfLog OF_CONTROLLER
public static final OfLog OF_MSG_SENDER
public static final OfLog OF_PACKET_SEQUENCER
public static final OfLog OF_FLOW_TRACKER
public static final OfLog OF_PIPELINE_MANAGER
public static OfLog[] values()
for (OfLog c : OfLog.values()) System.out.println(c);
public static OfLog valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.slf4j.Logger getLogger()
public String getName()
Do not use this for creating Loggers; use getLogger()
instead.
Copyright © 2015. All Rights Reserved.