Class TechnicalLoggerSLF4JImpl
- java.lang.Object
-
- org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl
-
- All Implemented Interfaces:
TechnicalLoggerService
@Deprecated(forRemoval=true, since="7.15.0") public class TechnicalLoggerSLF4JImpl extends java.lang.Object implements TechnicalLoggerServiceDeprecated, for removal: This API element is subject to removal in a future version.- Author:
- Baptiste Mesta, Matthieu Chaffotte, Celine Souchet
-
-
Constructor Summary
Constructors Constructor Description TechnicalLoggerSLF4JImpl()Deprecated, for removal: This API element is subject to removal in a future version.TechnicalLoggerSLF4JImpl(long tenantId)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
TechnicalLoggerSLF4JImpl
public TechnicalLoggerSLF4JImpl()
Deprecated, for removal: This API element is subject to removal in a future version.
-
TechnicalLoggerSLF4JImpl
public TechnicalLoggerSLF4JImpl(long tenantId)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
log
public 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.- Specified by:
login interfaceTechnicalLoggerService
-
asLogger
public TechnicalLogger asLogger(java.lang.Class<?> clazz)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TechnicalLoggerServiceProvides aTechnicalLoggerbacked to thisTechnicalLoggerService.- Specified by:
asLoggerin interfaceTechnicalLoggerService
-
log
public 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.- Specified by:
login interfaceTechnicalLoggerService
-
log
public 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.Description copied from interface:TechnicalLoggerServiceGenerates parametrized logs like slf4j does.
Usage example:
log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);- Specified by:
login interfaceTechnicalLoggerService
-
log
public 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.- Specified by:
login interfaceTechnicalLoggerService
-
isLoggable
public boolean isLoggable(java.lang.Class<?> callerClass, TechnicalLogSeverity severity)Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isLoggablein interfaceTechnicalLoggerService
-
-