Package net.bluemind.core.commons.logs
Class MdcLogUser
java.lang.Object
net.bluemind.core.commons.logs.MdcLogUser
- All Implemented Interfaces:
AutoCloseable,IMdcLogUser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidprotected voidstatic voidlogErrorAsUser(String user, org.slf4j.Logger log, String format, Object... arguments) voidlogErrorWithMdc(Throwable t, String format, Object... arguments) protected voidstatic voidlogInfoAsUser(String user, org.slf4j.Logger log, String format, Object... arguments) voidlogInfoWithMdc(String format, Object... arguments) protected voidprotected voidopen()
-
Field Details
-
ANONYMOUS
- See Also:
-
user
-
log
protected org.slf4j.Logger log
-
-
Constructor Details
-
MdcLogUser
public MdcLogUser() -
MdcLogUser
-
-
Method Details
-
logInfoWithMdc
- Specified by:
logInfoWithMdcin interfaceIMdcLogUser
-
logErrorWithMdc
- Specified by:
logErrorWithMdcin interfaceIMdcLogUser
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
open
protected void open() -
logInfoAsUser
-
logErrorAsUser
-
logError
-
logDebug
-
logInfo
-
logWarn
-