org.jagatoo.logging
Class ConsoleLog
java.lang.Object
org.jagatoo.logging.LogHandler
org.jagatoo.logging.ConsoleLog
public class ConsoleLog
- extends LogHandler
This class will write the messages to the console.
- Author:
- David Yazel, Marvin Froehlich (aka Qudus)
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleLog
public ConsoleLog(int channelFilter,
LogLevel logLevel)
ConsoleLog
public ConsoleLog(LogLevel logLevel)
ConsoleLog
public ConsoleLog()
print
public void print(LogChannel channel,
int logLevel,
java.lang.String message)
-
- Specified by:
print
in class LogHandler
println
public void println(LogChannel channel,
int logLevel,
java.lang.String message)
-
- Specified by:
println
in class LogHandler
print
public void print(LogChannel channel,
int logLevel,
java.lang.Throwable t)
-
- Specified by:
print
in class LogHandler
endMessage
public void endMessage()
-
- Specified by:
endMessage
in class LogHandler
flush
public void flush()
-
- Specified by:
flush
in class LogHandler
close
public void close()
-
- Specified by:
close
in class LogHandler