Package org.rumbledb.cli
Class ConsoleOutput
java.lang.Object
org.rumbledb.cli.ConsoleOutput
Centralizes user-facing command-line output.
Debug logging should be done through the logging framework, not through this class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidPrints a user-facing error to standard error.static voidPrints user-facing text to standard output.static voidstackTrace(Throwable throwable) Prints a stack trace to standard error when the user explicitly requested debug error details.static voidPrints a user-facing warning to standard error.
-
Method Details
-
out
Prints user-facing text to standard output.- Parameters:
message- the text to print.
-
warn
Prints a user-facing warning to standard error.- Parameters:
message- the warning text to print.
-
error
Prints a user-facing error to standard error.- Parameters:
message- the error text to print.
-
stackTrace
Prints a stack trace to standard error when the user explicitly requested debug error details.- Parameters:
throwable- the throwable whose stack trace should be printed.
-