Class DebugMessage

java.lang.Object
com.jbstrap.core.websocket.messages.BaseMessage
com.jbstrap.core.websocket.messages.DebugMessage

public final class DebugMessage extends BaseMessage
Since:
4.0
Author:
JBStrap
  • Field Details

  • Constructor Details

    • DebugMessage

      public DebugMessage(String level)
      Creates a new debug message
      Parameters:
      level - The message logging level. For usable levels, see the constants of the DebugMessage class.
  • Method Details

    • setLevel

      public DebugMessage setLevel(String level)
      Sets the message log level.
      Parameters:
      level - The message logging level. For usable levels, see the constants of the DebugMessage class.
      Returns:
      The debug message
    • getLevel

      public String getLevel()
      Gets the logging level
      Returns:
      The message logging level
    • setMessage

      public DebugMessage setMessage(String message)
      Sets the message text
      Parameters:
      message - The message text
      Returns:
      The debug message
    • getMessage

      public String getMessage()
      Gets the message text
      Returns:
      The message text