Sha256: 7604d7cbbb74ddf8eebe3117d8f94e58d7af8018f793bdb1406b587fe4811db0

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

# frozen_string_literal: true
require "sapience/version"
require "sapience/ansi_colors"
require "sapience/core_ext/hash"
require "sapience/core_ext/symbol"
require "sapience/core_ext/thread"
require "sapience/descendants"
require "sapience/log_methods"
require "sapience/appender"
require "sapience/metrics"
require "sapience/error_handler"
require "sapience/sapience"
require "sapience/extensions/notifications"

# @formatter:off

require "sapience/concerns/compatibility"

require "sapience/formatters/base"
require "sapience/formatters/raw"
require "sapience/formatters/default"
require "sapience/formatters/color"
require "sapience/formatters/json"

require "sapience/config_loader"
require "sapience/configuration"
require "sapience/base"
require "sapience/log"
require "sapience/logger"
require "sapience/loggable"
require "sapience/subscriber"

require "sapience/appender/stream"
require "sapience/appender/wrapper"
require "sapience/metrics/datadog"
require "sapience/error_handler/silent"
require "sapience/error_handler/sentry"

# @formatter:on

# Close and flush all appenders at exit, waiting for outstanding messages on the queue
# to be written first
at_exit do
  # Cannot call #close since test frameworks use at_exit to run loaded tests
  Sapience.flush
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sapience-3.0 lib/sapience.rb
sapience-2.15 lib/sapience.rb
sapience-2.14 lib/sapience.rb
sapience-2.13 lib/sapience.rb
sapience-2.12 lib/sapience.rb
sapience-2.11 lib/sapience.rb
sapience-2.10 lib/sapience.rb
sapience-2.9.1 lib/sapience.rb
sapience-2.8 lib/sapience.rb
sapience-2.7.0 lib/sapience.rb
sapience-2.6.1 lib/sapience.rb
sapience-2.6.0 lib/sapience.rb
sapience-2.5.4 lib/sapience.rb
sapience-2.5.3 lib/sapience.rb
sapience-2.5.2 lib/sapience.rb
sapience-2.5.0 lib/sapience.rb