|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.logging.EncogLogging
public class EncogLogging
This class provides logging for Encog. Programs using Encog can make use of it as well. All logging is passed on to the current logging plugin. By default the SystemLoggingPlugin is used.
Field Summary | |
---|---|
static int |
LEVEL_CRITICAL
Critical logging logs errors that cannot be recovered from. |
static int |
LEVEL_DEBUG
The lowest level log type. |
static int |
LEVEL_DISABLE
Logging is disabled at this level. |
static int |
LEVEL_ERROR
Error level tells you about errors, less important to critical. |
static int |
LEVEL_INFO
Info logging tells you when major processes start and stop. |
Constructor Summary | |
---|---|
EncogLogging()
|
Method Summary | |
---|---|
int |
getCurrentLevel()
|
static void |
log(int level,
String message)
Log the message. |
static void |
log(int level,
Throwable t)
Log the error. |
static void |
log(Throwable t)
Log the error at ERROR level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LEVEL_DEBUG
public static final int LEVEL_INFO
public static final int LEVEL_ERROR
public static final int LEVEL_CRITICAL
public static final int LEVEL_DISABLE
Constructor Detail |
---|
public EncogLogging()
Method Detail |
---|
public static final void log(int level, String message)
level
- The level to log at.message
- The message to log.public static final void log(int level, Throwable t)
level
- The level to log at.t
- The exception to log.public static final void log(Throwable t)
t
- The exception to log.public final int getCurrentLevel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |