public interface TechnicalLoggerService
| 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) |
TechnicalLogger asLogger(Class<?> clazz)
TechnicalLogger backed to this TechnicalLoggerService.void log(Class<?> callerClass, TechnicalLogSeverity severity, String message)
void log(Class<?> callerClass, TechnicalLogSeverity severity, String message, Object... arguments)
log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);
void log(Class<?> callerClass, TechnicalLogSeverity severity, String message, Throwable t)
void log(Class<?> callerClass, TechnicalLogSeverity severity, Throwable t)
boolean isLoggable(Class<?> callerClass, TechnicalLogSeverity severity)
Copyright © 2018 Bonitasoft S.A.. All rights reserved.