Sha256: 4581e6f6134541b6401ed3a4629712b290bf91f311095223ed8ae424c050fe00
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true module Lamian # Provides extension to loggers, which should be teed to lamian module LoggerExtension # @api stdlib # Add is a single entry point for ::Logger.{debug,info,..} def add(...) Logger.current.add(...) super end # @api stdlib # log is an alias for add and should also be prepended def log(...) Logger.current.add(...) super end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lamian-1.10.0 | lib/lamian/logger_extension.rb |
lamian-1.9.0 | lib/lamian/logger_extension.rb |
lamian-1.8.0 | lib/lamian/logger_extension.rb |