|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jagatoo.logging.Log
public final class Log
The Log class is the interface to the logging system.
Use the LogManager
returned by getLogManager()
to register/deregister LogHandler
s.
Method Summary | |
---|---|
static void |
close()
|
static void |
debug(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, DEBUG, message ). |
static void |
debugCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, DEBUG, message ). |
static void |
decreaseIndentation()
Decreases the indentation level to use for the following log outputs by one. |
static void |
error(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, ERROR, message ). |
static void |
errorCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, ERROR, message ). |
static void |
exception(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, EXCEPTION, message ). |
static void |
exceptionCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, EXCEPTION, message ). |
static void |
flush()
|
static int |
getIndentation()
|
static java.lang.String |
getIndentationString()
|
static LogManager |
getLogManager()
|
static void |
increaseIndentation()
Increases the indentation level to use for the following log outputs by one. |
static void |
print(LogChannel channel,
LogLevel logLevel,
java.lang.Object... message)
Prints out a log message without a newline. |
static void |
print(LogChannel channel,
java.lang.Object... message)
This is an alias for print( channel, REGULAR, message ). |
static void |
printCS(LogChannel channel,
LogLevel logLevel,
java.lang.Object... message)
Prints out a log message without a newline. |
static void |
printCS(LogChannel channel,
java.lang.Object... message)
This is an alias for print( channel, REGULAR, message ). |
static void |
println(LogChannel channel,
LogLevel logLevel,
java.lang.Object... message)
Prints out a log message with a newline. |
static void |
println(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, REGULAR, message ). |
static void |
printlnCS(LogChannel channel,
LogLevel logLevel,
java.lang.Object... message)
Prints out a log message with a newline. |
static void |
printlnCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, REGULAR, message ). |
static void |
printlnEx(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, EXHAUSTIVE, message ). |
static void |
printlnExCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, EXHAUSTIVE, message ). |
static void |
profile(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, PROFILE, message ). |
static void |
profileCS(LogChannel channel,
java.lang.Object... message)
This is an alias for println( channel, PROFILE, message ). |
static void |
setIndentation(int indentation)
Sets the indentation level to use for the following log outputs. |
static void |
setIndentationString(java.lang.String indentationString)
Sets the String to be prefixed to the actualy logging output n times. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final LogManager getLogManager()
LogHandler
s.public static final void setIndentationString(java.lang.String indentationString)
indentationString
- public static final java.lang.String getIndentationString()
public static final void setIndentation(int indentation)
indentation
- public static final int getIndentation()
public static final void increaseIndentation()
public static final void decreaseIndentation()
public static final void print(LogChannel channel, LogLevel logLevel, java.lang.Object... message)
channel
- logLevel
- message
- public static final void printCS(LogChannel channel, LogLevel logLevel, java.lang.Object... message)
channel
- logLevel
- message
- the string message to be printed to the log (comma separated)public static final void print(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void printCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void println(LogChannel channel, LogLevel logLevel, java.lang.Object... message)
channel
- logLevel
- message
- public static final void printlnCS(LogChannel channel, LogLevel logLevel, java.lang.Object... message)
channel
- logLevel
- message
- the string message to be printed to the log (comma separated)public static final void println(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void printlnCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void printlnEx(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void printlnExCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void error(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void errorCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void exception(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void exceptionCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void debug(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void debugCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void profile(LogChannel channel, java.lang.Object... message)
channel
- message
- public static final void profileCS(LogChannel channel, java.lang.Object... message)
channel
- message
- the string message to be printed to the log (comma separated)public static final void flush()
public static final void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |