Class Console.Out

  • Enclosing class:
    Console

    public static final class Console.Out
    extends Object
    Console logging to standard out
    Author:
    Brian Wyka
    • Method Detail

      • log

        public static void log​(String message)
        Log a message to standard out
        Parameters:
        message - the message to log to console
      • contextualInfo

        public static void contextualInfo​(String context,
                                          String message,
                                          Object... args)
        Log an INFO message to standard out in for the format "[INFO] context :: message"
        Parameters:
        context - message context
        message - the message to log to console
        args - the message args
      • contextualWarn

        public static void contextualWarn​(String context,
                                          String message,
                                          Object... args)
        Log a WARNING message to standard out in for the format "[WARN] context :: message"
        Parameters:
        context - message context
        message - the message to log to console
        args - the message args
      • contextualError

        public static void contextualError​(String context,
                                           String message,
                                           Object... args)
        Log an ERROR message to standard out in for the format "[ERROR] context :: message"
        Parameters:
        context - message contextA
        message - the message to log to console
        args - the message args