Package fr.gouv.vitam.common.logging
Class SysErrLogger
java.lang.Object
fr.gouv.vitam.common.logging.SysErrLogger
Utility class to be used only in classes where VitamLogger is not allowed
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SysErrLogger
FAKE LOGGER used where no LOG could be done -
Method Summary
Modifier and TypeMethodDescriptionvoid
Utility method to log nothing Used only in classes where VitamLogger is not allowedvoid
syserr()
Utility method to log through System.err the current Stacktrace Used only in classes where VitamLogger is not allowedvoid
Utility method to log through System.err Used only in classes where VitamLogger is not allowedvoid
Utility method to log through System.err the current Stacktrace Used only in classes where VitamLogger is not allowed
-
Field Details
-
FAKE_LOGGER
FAKE LOGGER used where no LOG could be done
-
-
Method Details
-
ignoreLog
Utility method to log nothing Used only in classes where VitamLogger is not allowed- Parameters:
throwable
- to log ignore
-
syserr
Utility method to log through System.err Used only in classes where VitamLogger is not allowed- Parameters:
message
- to write for error
-
syserr
public void syserr()Utility method to log through System.err the current Stacktrace Used only in classes where VitamLogger is not allowed -
syserr
Utility method to log through System.err the current Stacktrace Used only in classes where VitamLogger is not allowed- Parameters:
message
- to write for errore
- throw to write as error
-