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 Stringstatic Stringstatic Stringstatic StringvoidUtility method to log nothingstatic Stringstatic Stringvoidsyserr()Utility method to log through System.err the current StacktracevoidUtility method to log through System.errvoidUtility method to log through System.err the current StacktracevoidUtility method to log through System.err the current Stacktracevoidsysout()Utility method to log through System.outvoidUtility method to log through System.outstatic Stringstatic 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
-