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