Package org.savantbuild.output
Interface Output
- All Known Implementing Classes:
SystemOutOutput
public interface Output
Basic Savant output system. This writes to Appendables.
-
Method Summary
Modifier and TypeMethodDescriptionOutputs a debug message along with the given values.Outputs a debug message with the stack trace for the given Throwable.Outputs a debug message along with the given values.Disables debug messages.Enables debug messages.Outputs an error message along with the given values.Outputs an error message along with the given values.Outputs an info message along with the given values.Outputs an info message along with the given values.Outputs an info message along with the given values.Outputs a warning message along with the given values.Outputs a warning message along with the given values.
-
Method Details
-
debug
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
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
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
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
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
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
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
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
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
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.
-