Sha256: 431f0b7bf162c3112aaf238fff0c4e9cf8ee48b137eed0f4feda35a82de60ecf
Contents?: true
Size: 226 Bytes
Versions: 4
Compression:
Stored size: 226 Bytes
Contents
module AwsCron def self.log(method, text) @logger ||= ActiveSupport::TaggedLogging.new(configuration.logger) @tag ||= "aws_cron_#{SecureRandom.uuid}" @logger.tagged(@tag) { @logger.send(method, text) } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aws_cron-0.1.4 | lib/aws_cron/logger.rb |
aws_cron-0.1.3 | lib/aws_cron/logger.rb |
aws_cron-0.1.2 | lib/aws_cron/logger.rb |
aws_cron-0.1.1 | lib/aws_cron/logger.rb |