Class TechnicalLoggerSLF4JImpl

  • All Implemented Interfaces:
    TechnicalLoggerService

    @Deprecated(forRemoval=true,
                since="7.15.0")
    public class TechnicalLoggerSLF4JImpl
    extends java.lang.Object
    implements TechnicalLoggerService
    Deprecated, 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
      TechnicalLogger asLogger​(java.lang.Class<?> clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provides a TechnicalLogger backed to this TechnicalLoggerService.
      boolean isLoggable​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      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.
       
      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.
      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.
       
      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.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        log in interface TechnicalLoggerService
      • 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: TechnicalLoggerService
        Provides a TechnicalLogger backed to this TechnicalLoggerService.
        Specified by:
        asLogger in interface TechnicalLoggerService
      • 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:
        log in interface TechnicalLoggerService
      • 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: TechnicalLoggerService
        Generates parametrized logs like slf4j does.
        Usage example:
        log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);
        Specified by:
        log in interface TechnicalLoggerService
      • 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:
        log in interface TechnicalLoggerService