Class Console
java.lang.Object
com.github.pinont.singularitylib.api.utils.Console
Utility class for console logging operations.
Provides convenient methods for logging messages, errors, warnings, and debug information to the console.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidLogs a debug message to the console.static voidLogs a regular message to the console.static voidLogs an error message to the console with red color formatting.static voidlogWarning(String message) Logs a warning message to the console with yellow color formatting.
-
Constructor Details
-
Console
public Console()Default constructor for Console utility class.
-
-
Method Details
-
log
Logs a regular message to the console.- Parameters:
message- the message to log
-
logError
Logs an error message to the console with red color formatting.- Parameters:
message- the error message to log
-
logWarning
Logs a warning message to the console with yellow color formatting.- Parameters:
message- the warning message to log
-
debug
Logs a debug message to the console.- Parameters:
message- the debug message to log
-