public class SerialPortLogger extends Object
| Modifier and Type | Field and Description |
|---|---|
static Activity |
nors |
| Constructor and Description |
|---|
SerialPortLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(String msg)
Debugs only if the debugging flag is switched on
|
static void |
debugForced(String msg)
Forces debug output to the file system, even if debugging is switched off
|
static boolean |
isDebugging()
Checks if debugging is on (true) or off (false)
|
static void |
setDebugging(boolean b)
Set the debug mode
|
static void |
write(String msg)
Write message to the file system
|
public static void write(String msg)
msg - String to be writtenpublic static void debugForced(String msg)
public static void debug(String msg)
msg - String to be written to the filesystempublic static boolean isDebugging()
public static void setDebugging(boolean b)
b - debug (true) or not (false)