Interface Output

All Known Implementing Classes:
SystemOutOutput

public interface Output
Basic Savant output system. This writes to Appendables.
  • Method Details

    • debug

      Output debug(String message, Object... values)
      Outputs a debug message along with the given values. This uses printf if there are values and DOES NOT append a newline character to the end of message. If there are no values, this outputs the message via print.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • debugln

      Output debugln(String message, Object... values)
      Outputs a debug message along with the given values. This uses printf if there are values and appends a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • debug

      Output debug(Throwable t)
      Outputs a debug message with the stack trace for the given Throwable.
      Parameters:
      t - The Throwable to output.
      Returns:
      This.
    • disableDebug

      Output disableDebug()
      Disables debug messages.
      Returns:
      This.
    • enableDebug

      Output enableDebug()
      Enables debug messages.
      Returns:
      This.
    • error

      Output error(String message, Object... values)
      Outputs an error message along with the given values. This uses printf if there are values and DOES NOT append a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • errorln

      Output errorln(String message, Object... values)
      Outputs an error message along with the given values. This uses printf if there are values and appends a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • info

      Output info(String message, Object... values)
      Outputs an info message along with the given values. This uses printf if there are values and DOES NOT append a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • infoln

      Output infoln(String message, Object... values)
      Outputs an info message along with the given values. This uses printf if there are values and appends a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • infoln

      Output infoln(int color, String message, Object... values)
      Outputs an info message along with the given values. This uses printf if there are values and appends a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      color - The ANSI 256 color for the entire message.
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • warning

      Output warning(String message, Object... values)
      Outputs a warning message along with the given values. This uses printf if there are values and DOES NOT append a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.
    • warningln

      Output warningln(String message, Object... values)
      Outputs a warning message along with the given values. This uses printf if there are values and appends a newline character to the end of message. If there are no values, this outputs the message via println.
      Parameters:
      message - The message.
      values - Values for the message.
      Returns:
      This.