Sha256: c72a243898014f985b43e048024e2b8ae0921382b8e9067e8153af82c951b0b7
Contents?: true
Size: 622 Bytes
Versions: 5
Compression:
Stored size: 622 Bytes
Contents
require 'logster/logger' require 'logster/message' require 'logster/configuration' module Logster def self.logger=(logger) @logger = logger end def self.logger @logger end def self.store=(store) @store=store end def self.store @store end def self.config=(config) @config = config end def self.config @config ||= Configuration.new end def self.add_to_env(env, key, value) logster_env = Logster::Message.populate_from_env(env) logster_env[key] = value end end if defined?(::Rails) && ::Rails::VERSION::MAJOR.to_i >= 3 require 'logster/rails/railtie' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
logster-0.0.9 | lib/logster.rb |
logster-0.0.8 | lib/logster.rb |
logster-0.0.7 | lib/logster.rb |
logster-0.0.6 | lib/logster.rb |
logster-0.0.5 | lib/logster.rb |