Class Slf4jLoggingTraceHandler

    • Field Detail

      • MARKER_NAME

        public static final String MARKER_NAME
        the name of the marker used when logging the profiler session
        See Also:
        Constant Field Values
    • Constructor Detail

      • Slf4jLoggingTraceHandler

        public Slf4jLoggingTraceHandler()
      • Slf4jLoggingTraceHandler

        public Slf4jLoggingTraceHandler​(String loggerName)
    • Method Detail

      • setFormatter

        public void setFormatter​(TraceFormatter formatter)
        Sets the formatter used when logging. Only relevant on the root session.
        Parameters:
        formatter - the formatter
      • handle

        public void handle​(Trace trace)
        Description copied from interface: TraceHandler
        Handles the given fully completed trace.
        Parameters:
        trace - the fully completed trace (a root trace of a root context)