LibMuse 6.0.3
com.choosemuse.libmuse.LogPacket Class Reference

Public Member Functions

 LogPacket (Severity severity, boolean raw, String tag, double timestamp, String message)
 
Severity getSeverity ()
 
boolean getRaw ()
 
String getTag ()
 
double getTimestamp ()
 
String getMessage ()
 
String toString ()
 

Detailed Description

A log message.

Member Function Documentation

§ getMessage()

String com.choosemuse.libmuse.LogPacket.getMessage ( )
inline

Content of this log message. Not newline-terminated; handlers should provide their own line-based formatting.

Returns
The log message content.

§ getRaw()

boolean com.choosemuse.libmuse.LogPacket.getRaw ( )
inline

Denotes raw messages.

Raw messages are generally short (one or two character) messages that can be passed straight to the screen without any formatting or added newlines. (We use this to reduce the noise level on some of our verbose log mesages.)

Returns
true if this is a raw log message, false otherwise.

§ getSeverity()

Severity com.choosemuse.libmuse.LogPacket.getSeverity ( )
inline

Severity of this message.

Returns
The severity of this message.

§ getTag()

String com.choosemuse.libmuse.LogPacket.getTag ( )
inline

Human-readable, usually all-caps, tag for this message, e.g. "CONNECTOR" or "DEVICE".

Returns
The message tag.

§ getTimestamp()

double com.choosemuse.libmuse.LogPacket.getTimestamp ( )
inline

Timestamp for this log, in seconds.

Returns
The timestamp of this log message.

§ toString()

String com.choosemuse.libmuse.LogPacket.toString ( )
inline

Returns a string representation of this object.

Returns
a string representation of this object.

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