Module: Stapfen::Logger

Included in:
Worker
Defined in:
lib/stapfen/logger.rb

Overview

Logging module to ensure that {Stapfen{Stapfen::Worker} classes can perform logging if they’ve been configured to

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

PROXY_METHODS =

Collection of methods to pass arguments through from the class and instance level to a configured logger

[:info, :debug, :warn, :error].freeze

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



28
29
30
# File 'lib/stapfen/logger.rb', line 28

def self.included(klass)
  klass.extend(ClassMethods)
end