Modifier and Type | Field and Description |
---|---|
static int |
ERR |
static int |
NULL |
static int |
OUT |
Constructor and Description |
---|
Log2poConsoleWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Schliesst das Log.
|
int |
getLogLevel()
Liefert das LogLevel.
|
void |
log(java.lang.String message,
int logLevel)
Loggt.
|
LogWriter |
setLogLevel(int logLevel)
Setzt das LogLevel.
|
LogWriter |
setPrintTo(int printTo) |
public static final int NULL
public static final int OUT
public static final int ERR
public LogWriter setLogLevel(int logLevel)
LogWriter
setLogLevel
in interface LogWriter
logLevel
- int z.B. Log.LEVEL_DEBUG
.public int getLogLevel()
LogWriter
getLogLevel
in interface LogWriter
Log.LEVEL_DEBUG
.public LogWriter setPrintTo(int printTo)
public void log(java.lang.String message, int logLevel)
LogWriter
log
in interface LogWriter
message
- MessagelogLevel
- Level, z.B Log.LEVEL_DEBUG