Sha256: d7c63401f026a535b729944debf72e2d29679dd4b4c25aa1b9398a3a5a3a1393
Contents?: true
Size: 709 Bytes
Versions: 8
Compression:
Stored size: 709 Bytes
Contents
module Logtail # The Logtail Logger behaves exactly like the standard Ruby `::Logger`, except that it supports a # transparent API for logging structured data and events. # # @example Basic logging # logger.info "Payment rejected for customer #{customer_id}" # # @example Logging an event # logger.info "Payment rejected", payment_rejected: {customer_id: customer_id, amount: 100} class Logger < ::Logger include ::ActiveSupport::LoggerThreadSafeLevel if defined?(::ActiveSupport::LoggerThreadSafeLevel) if defined?(::ActiveSupport::LoggerSilence) include ::ActiveSupport::LoggerSilence elsif defined?(::LoggerSilence) include ::LoggerSilence end end end
Version data entries
8 entries across 8 versions & 1 rubygems