Module: Logster

Defined in:
lib/logster.rb,
lib/logster/logger.rb,
lib/logster/message.rb,
lib/logster/version.rb,
lib/logster/base_store.rb,
lib/logster/redis_store.rb,
lib/logster/configuration.rb,
lib/logster/ignore_pattern.rb,
lib/logster/middleware/viewer.rb,
lib/logster/middleware/reporter.rb

Defined Under Namespace

Modules: Middleware, Rails Classes: BaseStore, Configuration, IgnorePattern, Logger, Message, RedisStore, Web

Constant Summary collapse

VERSION =
"0.1.8"

Class Method Summary collapse

Class Method Details

.add_to_env(env, key, value) ⇒ Object


39
40
41
42
# File 'lib/logster.rb', line 39

def self.add_to_env(env, key, value)
  logster_env = Logster::Message.populate_from_env(env)
  logster_env[key] = value
end

.configObject


35
36
37
# File 'lib/logster.rb', line 35

def self.config
  @config ||= Configuration.new
end

.config=(config) ⇒ Object


31
32
33
# File 'lib/logster.rb', line 31

def self.config=(config)
  @config = config
end

.loggerObject


19
20
21
# File 'lib/logster.rb', line 19

def self.logger
  @logger
end

.logger=(logger) ⇒ Object


15
16
17
# File 'lib/logster.rb', line 15

def self.logger=(logger)
  @logger = logger
end

.storeObject


27
28
29
# File 'lib/logster.rb', line 27

def self.store
  @store
end

.store=(store) ⇒ Object


23
24
25
# File 'lib/logster.rb', line 23

def self.store=(store)
  @store=store
end