Class Console

java.lang.Object
com.github.pinont.singularitylib.api.utils.Console

public class Console extends Object
Utility class for console logging operations. Provides convenient methods for logging messages, errors, warnings, and debug information to the console.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for Console utility class.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    debug(String message)
    Logs a debug message to the console.
    static void
    log(String message)
    Logs a regular message to the console.
    static void
    logError(String message)
    Logs an error message to the console with red color formatting.
    static void
    logWarning(String message)
    Logs a warning message to the console with yellow color formatting.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Console

      public Console()
      Default constructor for Console utility class.
  • Method Details

    • log

      public static void log(String message)
      Logs a regular message to the console.
      Parameters:
      message - the message to log
    • logError

      public static void logError(String message)
      Logs an error message to the console with red color formatting.
      Parameters:
      message - the error message to log
    • logWarning

      public static void logWarning(String message)
      Logs a warning message to the console with yellow color formatting.
      Parameters:
      message - the warning message to log
    • debug

      public static void debug(String message)
      Logs a debug message to the console.
      Parameters:
      message - the debug message to log