|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.util.Logging
public class Logging
This class of static methods provides the interface to logging for World Wind components. Logging is performed via
java.util.logging
. The default logger name is gov.nasa.worldwind
. The logger name is
configurable via Configuration
.
Configuration
,
java.util.logging
Method Summary | |
---|---|
static java.lang.String |
getMessage(java.lang.String property)
Retrieves a message from the World Wind message resource bundle. |
static java.lang.String |
getMessage(java.lang.String property,
java.lang.Object... args)
Retrieves a message from the World Wind message resource bundle formatted with specified arguments. |
static java.lang.String |
getMessage(java.lang.String property,
java.lang.String arg)
Retrieves a message from the World Wind message resource bundle formatted with a single argument. |
static java.util.logging.Logger |
logger()
Returns the World Wind logger. |
static java.util.logging.Logger |
logger(java.lang.String loggerName)
Returns a specific logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getMessage(java.lang.String property)
property
- the property identifying which message to retrieve.
public static java.lang.String getMessage(java.lang.String property, java.lang.Object... args)
MessageFormat
.
property
- the property identifying which message to retrieve.args
- the arguments referenced by the format string identified property
.
MessageFormat
public static java.lang.String getMessage(java.lang.String property, java.lang.String arg)
MessageFormat
.
property
- the property identifying which message to retrieve.arg
- the single argument referenced by the format string identified property
.
MessageFormat
public static java.util.logging.Logger logger()
public static java.util.logging.Logger logger(java.lang.String loggerName)
Configuration
to determine the configured
World Wind logger.
This is needed by Configuration
to avoid calls back into itself when its singleton
instance is not yet instantiated.
loggerName
- the name of the logger to use.
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |