public final class Logger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ErrorStream |
error |
LogStream |
info |
LogStream |
message |
ErrorStream |
severe |
ErrorStream |
warn |
Constructor and Description |
---|
Logger(java.lang.String prefix)
Gets a new Logger
|
Modifier and Type | Method and Description |
---|---|
static void |
setup(java.io.PrintStream out,
java.io.PrintStream err,
jline.console.ConsoleReader in,
java.io.File dir)
Setup the SubServers Log System
|
public final LogStream message
public final LogStream info
public final ErrorStream warn
public final ErrorStream error
public final ErrorStream severe
public Logger(java.lang.String prefix)
prefix
- Log Prefixpublic static void setup(java.io.PrintStream out, java.io.PrintStream err, jline.console.ConsoleReader in, java.io.File dir) throws java.io.IOException
out
- System.outerr
- System.errin
- jline.indir
- Runtime Directoryjava.io.IOException