public class TptLogger extends Object
| Constructor and Description |
|---|
TptLogger(PrintStream logger)
Wraps the given
PrintStream into the TptLogger. |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String msg)
Report an error message
|
PrintStream |
getLogger()
get access to the underlying message stream
|
void |
info(String msg)
Report an info message.
|
void |
interrupt(String msg)
Report an interrupt message
|
public TptLogger(PrintStream logger)
PrintStream into the TptLogger.logger - The stream to print messages topublic void info(String msg)
msg - Message to show.public void error(String msg)
msg - Message to show.public void interrupt(String msg)
msg - Message to show.public PrintStream getLogger()
Copyright © 2016–2018 PikeTec GmbH. All rights reserved.