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

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

Member Function Documentation

§ receiveLog()

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

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.

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

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