Sha256: 5e856a1b45c0b4326dc02226883009c121fad13ffc3a92318b19a3ca497390c0
Contents?: true
Size: 717 Bytes
Versions: 17
Compression:
Stored size: 717 Bytes
Contents
# Copyright (c) 2019 SolarWinds, LLC. # All rights reserved. if AppOpticsAPM.loaded && defined?(ActiveSupport::Logger::SimpleFormatter) module ActiveSupport class Logger class SimpleFormatter # even though SimpleFormatter inherits from Logger, # this will not append traceId twice, # because SimpleFormatter#call does not call super prepend AppOpticsAPM::Logger::Formatter end end end end if AppOpticsAPM.loaded && defined?(ActiveSupport::TaggedLogging::Formatter) module ActiveSupport module TaggedLogging module Formatter # TODO figure out ancestors situation prepend AppOpticsAPM::Logger::Formatter end end end end
Version data entries
17 entries across 17 versions & 2 rubygems