public class TechnicalLoggerSLF4JImpl extends java.lang.Object implements TechnicalLoggerService
| Constructor and Description |
|---|
TechnicalLoggerSLF4JImpl() |
TechnicalLoggerSLF4JImpl(long tenantId) |
| Modifier and Type | Method and Description |
|---|---|
TechnicalLogger |
asLogger(java.lang.Class<?> clazz)
Provides a
TechnicalLogger backed to this TechnicalLoggerService. |
boolean |
isLoggable(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity) |
void |
log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message) |
void |
log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message,
java.lang.Object... arguments)
Generates parametrized logs like slf4j does.
|
void |
log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message,
java.lang.Throwable t) |
void |
log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.Throwable t) |
public TechnicalLoggerSLF4JImpl()
public TechnicalLoggerSLF4JImpl(long tenantId)
public void log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.Throwable t)
log in interface TechnicalLoggerServicepublic TechnicalLogger asLogger(java.lang.Class<?> clazz)
TechnicalLoggerServiceTechnicalLogger backed to this TechnicalLoggerService.asLogger in interface TechnicalLoggerServicepublic void log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message)
log in interface TechnicalLoggerServicepublic void log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message,
java.lang.Object... arguments)
TechnicalLoggerService
log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);
log in interface TechnicalLoggerServicepublic void log(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity,
java.lang.String message,
java.lang.Throwable t)
log in interface TechnicalLoggerServicepublic boolean isLoggable(java.lang.Class<?> callerClass,
TechnicalLogSeverity severity)
isLoggable in interface TechnicalLoggerService