Package com.optum.sourcehawk.exec
Class Console.Out
- java.lang.Object
-
- com.optum.sourcehawk.exec.Console.Out
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcontextualError(String context, String message, Object... args)Log an ERROR message to standard out in for the format "[ERROR]context::message"static voidcontextualInfo(String context, String message, Object... args)Log an INFO message to standard out in for the format "[INFO]context::message"static voidcontextualWarn(String context, String message, Object... args)Log a WARNING message to standard out in for the format "[WARN]context::message"static voidlog(String message)Log a message to standard out
-
-
-
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 contextmessage- the message to log to consoleargs- 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 contextmessage- the message to log to consoleargs- the message args
-
-