|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectLogHelper
public final class LogHelper
Standard methods for setting up logging. Allows creation of Console writers using one method. Logger methods should only be called in a shell class at setup, after which Logger calls should be used for logging.
| Nested Class Summary | |
|---|---|
static class |
LogHelper.DaikonLogFormatter
|
| Field Summary | |
|---|---|
static Level |
FINE
|
static Level |
INFO
|
static Level |
SEVERE
|
static Level |
WARNING
|
| Method Summary | |
|---|---|
static void |
setLevel(String s,
Level l)
Changes the logging priority of a sub category. |
static void |
setupLogs()
Default method for setting up global logs. |
static void |
setupLogs(Level l)
Sets up global logs with a given priority. |
static void |
setupLogs(Level l,
Formatter formatter)
Sets up global logs with a given priority and logging output pattern. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Level FINE
public static final Level INFO
public static final Level WARNING
public static final Level SEVERE
| Method Detail |
|---|
public static void setupLogs(Level l,
Formatter formatter)
public static void setupLogs()
public static void setupLogs(Level l)
public static void setLevel(String s,
Level l)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||