public final class Logger extends Object
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static void |
logInput(byte[] received)
Log a message received from the server.
|
static void |
logInput(byte[] received,
int offset,
int len)
Log a message received from the server.
|
static void |
logInput(char received)
Log a character received from the server.
|
static void |
logOutput(byte[] sent)
Log a message sent to the server.
|
static void |
setLogging(String logPath) |
public static void setLogging(String logPath)
public static void logInput(byte[] received)
received
- the data received from the serverpublic static void logInput(byte[] received, int offset, int len)
received
- the data received from the serverpublic static void logInput(char received)
received
- the data received from the serverpublic static void logOutput(byte[] sent)
sent
- the data sent to the serverCopyright © 2016. All rights reserved.