Module: MetaRequest::LogInterceptor

Defined in:
lib/meta_request/log_interceptor.rb

Instance Method Summary collapse

Instance Method Details

#debug(message = nil, *args) ⇒ Object



5
6
7
8
# File 'lib/meta_request/log_interceptor.rb', line 5

def debug(message = nil, *args)
  push_event(:debug, message)
  super
end

#error(message = nil, *args) ⇒ Object



20
21
22
23
# File 'lib/meta_request/log_interceptor.rb', line 20

def error(message = nil, *args)
  push_event(:error, message)
  super
end

#fatal(message = nil, *args) ⇒ Object



25
26
27
28
# File 'lib/meta_request/log_interceptor.rb', line 25

def fatal(message = nil, *args)
  push_event(:fatal, message)
  super
end

#info(message = nil, *args) ⇒ Object



10
11
12
13
# File 'lib/meta_request/log_interceptor.rb', line 10

def info(message = nil, *args)
  push_event(:info, message)
  super
end

#unknown(message = nil, *args) ⇒ Object



30
31
32
33
# File 'lib/meta_request/log_interceptor.rb', line 30

def unknown(message = nil, *args)
  push_event(:unknown, message)
  super
end

#warn(message = nil, *args) ⇒ Object



15
16
17
18
# File 'lib/meta_request/log_interceptor.rb', line 15

def warn(message = nil, *args)
  push_event(:warn, message)
  super
end