Module: RQ::Logging

Includes:
LogMethods
Included in:
JobQueue, JobRunnerDaemon, MainHelper, QDB
Defined in:
lib/rq/logging.rb

Overview

module which adds logging methods to all RQ classes

Defined Under Namespace

Modules: LogClassMethods, LogMethods, LoggerExt

Constant Summary collapse

EOL =
"\n"
DIV0 =
("." * 79) << EOL
DIV1 =
("-" * 79) << EOL
DIV2 =
("=" * 79) << EOL
DIV3 =
("#" * 79) << EOL
SEC0 =
("." * 16) << EOL
SEC1 =
("-" * 16) << EOL
SEC2 =
("=" * 16) << EOL
SEC3 =
("#" * 16) << EOL

Class Method Summary collapse

Methods included from LogMethods

#debug, #error, #fatal, #info, #logerr, #logger, #logger=, #warn

Class Method Details

.append_features(c) ⇒ Object

–{{{



108
109
110
111
112
113
114
115
# File 'lib/rq/logging.rb', line 108

def append_features c
#--{{{
  ret = super
  c.extend LogMethods
  c.extend LogClassMethods
  ret
#--}}}
end