Class: Loggr::Adapter::SLF4JAdapter

Inherits:
BaseAdapter show all
Defined in:
lib/loggr/adapter/slf4j.rb

Overview

Provides an adapter for the SLF4J Logger.

Instance Method Summary collapse

Methods inherited from BaseAdapter

#logger

Methods inherited from AbstractAdapter

#logger

Instance Method Details

#mdcObject

Use the SLF4J backed real MDC.


11
12
13
# File 'lib/loggr/adapter/slf4j.rb', line 11

def mdc
  @mdc ||= Loggr::SLF4J::MDC
end