A LogListener that outputs the logs to logcat
§ receiveLog()
void com.choosemuse.libmuse.AndroidLogListener.receiveLog |
( |
LogPacket |
log | ) |
|
|
inline |
Handler method for log messages. These are sent when interesting events happen. A simple handler may just print each message to stderr or stdout separated by newlines. It's also possible to implement arbitrary log policies within this handler.
- Warning
- receiveLog may be entered concurrently from multiple threads; if your listener implementation requires synchronization, it should provide its own.
-
Your listener should not make any LibMuse API calls; otherwise, unbounded recursion may occur, leading to resource exhaustion.
- Parameters
-
The documentation for this class was generated from the following file: