Class SysErrLogger
java.lang.Object
io.clonecloudstore.common.standard.system.SysErrLogger
Utility class to be used only in classes where standard Logger is not allowed
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
static String
void
Utility method to log nothingstatic String
static String
void
syserr()
Utility method to log through System.err the current Stacktracevoid
Utility method to log through System.errvoid
Utility method to log through System.err the current Stacktracevoid
Utility method to log through System.err the current Stacktracevoid
sysout()
Utility method to log through System.outvoid
Utility method to log through System.outstatic String
static String
-
Field Details
-
FAKE_LOGGER
FAKE LOGGER used where no LOG could be done -
ANSI_RESET
- See Also:
-
ANSI_BLACK
- See Also:
-
ANSI_RED
- See Also:
-
ANSI_GREEN
- See Also:
-
ANSI_YELLOW
- See Also:
-
ANSI_BLUE
- See Also:
-
ANSI_PURPLE
- See Also:
-
ANSI_CYAN
- See Also:
-
ANSI_WHITE
- See Also:
-
-
Method Details
-
red
-
green
-
yellow
-
blue
-
purple
-
cyan
-
white
-
black
-
ignoreLog
Utility method to log nothing- Parameters:
throwable
- to log ignore
-
sysout
public void sysout()Utility method to log through System.out -
sysout
Utility method to log through System.out- Parameters:
message
- to write for no error log
-
syserr
Utility method to log through System.err- Parameters:
message
- to write for error
-
syserr
public void syserr()Utility method to log through System.err the current Stacktrace -
syserr
Utility method to log through System.err the current Stacktrace- Parameters:
message
- to write for errore
- throw to write as error
-
syserr
Utility method to log through System.err the current Stacktrace- Parameters:
e
- throw to write as error
-