Sha256: 3ad94fa6f75ca35689c65b94e4e81c6657b0b8fc86ed81720db175bd57cc838e

Contents?: true

Size: 366 Bytes

Versions: 4

Compression:

Stored size: 366 Bytes

Contents

module Jets::Util
  module Logging
    # Both work within the Jets source code.
    #
    #   logger.info
    #   log.info (encouraged)
    #
    # Jets.logger also points to this via jets/core.rb by default.
    # Hoewever, it can be overridden by other frameworks.
    #
    delegate :logger, to: "Jets.bootstrap.config"
    def log
      logger
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/util/logging.rb
jets-6.0.4 lib/jets/util/logging.rb
jets-6.0.3 lib/jets/util/logging.rb
jets-6.0.2 lib/jets/util/logging.rb