de.cm.osm2po.logging
Class Log2poConsoleWriter
java.lang.Object
de.cm.osm2po.logging.Log2poConsoleWriter
- All Implemented Interfaces:
- LogWriter
public class Log2poConsoleWriter
- extends java.lang.Object
- implements LogWriter
Field Summary |
static int |
ERR
|
static int |
NULL
|
static int |
OUT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final int NULL
- See Also:
- Constant Field Values
OUT
public static final int OUT
- See Also:
- Constant Field Values
ERR
public static final int ERR
- See Also:
- Constant Field Values
Log2poConsoleWriter
public Log2poConsoleWriter()
setLogLevel
public LogWriter setLogLevel(int logLevel)
- Description copied from interface:
LogWriter
- Setzt das LogLevel.
- Specified by:
setLogLevel
in interface LogWriter
- Parameters:
logLevel
- int z.B. Log.LEVEL_DEBUG
.
- Returns:
- this.
getLogLevel
public int getLogLevel()
- Description copied from interface:
LogWriter
- Liefert das LogLevel.
- Specified by:
getLogLevel
in interface LogWriter
- Returns:
- int logLevel z.B.
Log.LEVEL_DEBUG
.
setPrintTo
public LogWriter setPrintTo(int printTo)
log
public void log(java.lang.String message,
int logLevel)
- Description copied from interface:
LogWriter
- Loggt.
- Specified by:
log
in interface LogWriter
- Parameters:
message
- MessagelogLevel
- Level, z.B Log.LEVEL_DEBUG
close
public void close()
- Description copied from interface:
LogWriter
- Schliesst das Log. Sinnvoll bei z.B. Dateien.
- Specified by:
close
in interface LogWriter