|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.util.Log
public final class Log
A simple central logging system
Method Summary | |
---|---|
static void |
checkVerboseLogSetting()
Check if the system property org.newdawn.slick.verboseLog is set to true. |
static void |
debug(java.lang.String message)
Log a debug message |
static void |
error(java.lang.String message)
Log an error |
static void |
error(java.lang.String message,
java.lang.Throwable e)
Log an error |
static void |
error(java.lang.Throwable e)
Log an error |
static void |
info(java.lang.String message)
Log an information message |
static void |
setForcedVerboseOn()
Indicate that we want verbose logging, even if switched off in game code. |
static void |
setLogSystem(LogSystem system)
Set the log system that will have all of the log info sent to it. |
static void |
setVerbose(boolean v)
Indicate that we want verbose logging. |
static void |
warn(java.lang.String message)
Log a warning |
static void |
warn(java.lang.String message,
java.lang.Throwable e)
Log a warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setLogSystem(LogSystem system)
system
- The system to use for logging.public static void setVerbose(boolean v)
v
- True if we want verbose logging (INFO and DEBUG)public static void checkVerboseLogSetting()
public static void setForcedVerboseOn()
public static void error(java.lang.String message, java.lang.Throwable e)
message
- The message describing the errore
- The exception causing the errorpublic static void error(java.lang.Throwable e)
e
- The exception causing the errorpublic static void error(java.lang.String message)
message
- The message describing the errorpublic static void warn(java.lang.String message)
message
- The message describing the warningpublic static void warn(java.lang.String message, java.lang.Throwable e)
message
- The message describing the warninge
- The issue causing the warningpublic static void info(java.lang.String message)
message
- The message describing the infomationpublic static void debug(java.lang.String message)
message
- The message describing the debug
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |