public final class LoggerUtil extends Object
Level.WARNING | Warnings about how the current systems's configuration could lead to errors. These messages do not necessary indicate that an error occurred, however. |
Level.INFO | High-level information about the current state of processing for a semantic space algorithm. This is the standard level for normal output. |
Level.FINE | Information about the current state of document processin, or detailed information about the state of the semantic space. This level should be used for verbose output. |
Level.FINER | Detailed information about the current state of exectution. The output may be used to trace high-level execution flow. This level should only be used for very verbose output. |
Modifier and Type | Method and Description |
---|---|
static void |
info(Logger log,
String format,
Object... args)
Prints
Level.INFO messages to the provided Logger . |
static void |
setLevel(Level outputLevel)
Sets the output level of the S-Space package according to the desired
level.
|
static void |
setLevel(String loggerNamespace,
Level outputLevel)
Sets the output level of the provided logging namespace according to the
desired level.
|
static void |
severe(Logger log,
String format,
Object... args)
Prints
Level.SEVERE messages to the provided Logger . |
static void |
verbose(Logger log,
String format,
Object... args)
Prints
Level.FINE messages to the provided Logger . |
static void |
veryVerbose(Logger log,
String format,
Object... args)
Prints
Level.FINE messages to the provided Logger . |
static void |
warning(Logger log,
String format,
Object... args)
Prints
Level.WARNING messages to the provided Logger . |
public static void setLevel(Level outputLevel)
public static void setLevel(String loggerNamespace, Level outputLevel)
loggerNamespace
- the name space of the loggers whose output should
be changed to the specified level. This is typically the
package (or super-package) of all classes reporting log messages.public static void veryVerbose(Logger log, String format, Object... args)
Level.FINE
messages to the provided Logger
.public static void verbose(Logger log, String format, Object... args)
Level.FINE
messages to the provided Logger
.public static void info(Logger log, String format, Object... args)
Level.INFO
messages to the provided Logger
.public static void warning(Logger log, String format, Object... args)
Level.WARNING
messages to the provided Logger
.public static void severe(Logger log, String format, Object... args)
Level.SEVERE
messages to the provided Logger
.Copyright © 2012. All Rights Reserved.