LibMuse 6.0.2
com.choosemuse.libmuse.LogListener Class Referenceabstract
Inheritance diagram for com.choosemuse.libmuse.LogListener:
com.choosemuse.libmuse.AndroidLogListener

Public Member Functions

abstract void receiveLog (LogPacket log)
 

Detailed Description

User-supplied log message handler.

You can provide an instance of this class in order to integrate LibMuse logs into your application's logging system.

See also
LogManager

Member Function Documentation

§ receiveLog()

abstract void com.choosemuse.libmuse.LogListener.receiveLog ( LogPacket  log)
abstract

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
logThe log message.

The documentation for this class was generated from the following file: