public interface CustomLogger
LDSDKLogger
to have all
log from the LEGO Device SDK written to a custom destination (for instance a remote logging server).Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String msg)
Used to log detailed information.
|
void |
error(java.lang.Exception e)
Used to log runtime errors or unexpected conditions.
|
void |
error(java.lang.String msg)
Used to log runtime errors or unexpected conditions.
|
void |
info(java.lang.String msg)
Used to log information on the flow through the system and other interesting events.
|
void |
verbose(java.lang.String msg)
Used to log detailed information.
|
void |
warn(java.lang.String msg)
Used in situations like use of deprecated APIs, poor use of API, near errors, other runtime situations that are undesirable or unexpected, but not necessarily "wrong".
|
void verbose(java.lang.String msg)
msg
- the message to logvoid debug(java.lang.String msg)
msg
- the message to logvoid info(java.lang.String msg)
msg
- the message to logvoid warn(java.lang.String msg)
msg
- the message to logvoid error(java.lang.String msg)
msg
- the message to logvoid error(java.lang.Exception e)
e
- the exception that was thrown that caused the error.