Interface TechnicalLoggerService
-
- All Known Implementing Classes:
TechnicalLoggerSLF4JImpl
@Deprecated(forRemoval=true, since="7.15.0") public interface TechnicalLoggerServiceDeprecated, for removal: This API element is subject to removal in a future version.- Author:
- Baptiste Mesta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TechnicalLoggerasLogger(java.lang.Class<?> clazz)Deprecated, for removal: This API element is subject to removal in a future version.Provides aTechnicalLoggerbacked to thisTechnicalLoggerService.booleanisLoggable(java.lang.Class<?> callerClass, TechnicalLogSeverity severity)Deprecated, for removal: This API element is subject to removal in a future version.voidlog(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message)Deprecated, for removal: This API element is subject to removal in a future version.voidlog(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Object... arguments)Deprecated, for removal: This API element is subject to removal in a future version.Generates parametrized logs like slf4j does.voidlog(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Throwable t)Deprecated, for removal: This API element is subject to removal in a future version.voidlog(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.Throwable t)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
asLogger
TechnicalLogger asLogger(java.lang.Class<?> clazz)
Deprecated, for removal: This API element is subject to removal in a future version.Provides aTechnicalLoggerbacked to thisTechnicalLoggerService.- Since:
- 7.8.0
-
log
void log(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message)Deprecated, for removal: This API element is subject to removal in a future version.
-
log
void log(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Object... arguments)Deprecated, for removal: This API element is subject to removal in a future version.Generates parametrized logs like slf4j does.
Usage example:
log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);- Since:
- 7.8.0
-
log
void log(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Throwable t)Deprecated, for removal: This API element is subject to removal in a future version.
-
log
void log(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.Throwable t)Deprecated, for removal: This API element is subject to removal in a future version.
-
isLoggable
boolean isLoggable(java.lang.Class<?> callerClass, TechnicalLogSeverity severity)Deprecated, for removal: This API element is subject to removal in a future version.
-
-