Class DebugMessage
java.lang.Object
com.jbstrap.core.websocket.messages.BaseMessage
com.jbstrap.core.websocket.messages.DebugMessage
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLevel()
Gets the logging levelGets the message textSets the message log level.setMessage
(String message) Sets the message textMethods inherited from class com.jbstrap.core.websocket.messages.BaseMessage
getMessageId, getMessageType
-
Field Details
-
LOG
LOG level message- See Also:
-
DEBUG
DEBUG level message- See Also:
-
INFO
INFO level message- See Also:
-
ERROR
ERROR level message- See Also:
-
WARNING
WARN level message- See Also:
-
TRACE
TRACE level message- See Also:
-
-
Constructor Details
-
DebugMessage
Creates a new debug message- Parameters:
level
- The message logging level. For usable levels, see the constants of theDebugMessage
class.
-
-
Method Details
-
setLevel
Sets the message log level.- Parameters:
level
- The message logging level. For usable levels, see the constants of theDebugMessage
class.- Returns:
- The debug message
-
getLevel
Gets the logging level- Returns:
- The message logging level
-
setMessage
Sets the message text- Parameters:
message
- The message text- Returns:
- The debug message
-
getMessage
Gets the message text- Returns:
- The message text
-