Class: Slf4r::LoggerFacade4WrappedLogger
- Inherits:
-
Object
- Object
- Slf4r::LoggerFacade4WrappedLogger
- Defined in:
- lib/slf4r/wrapped_logger.rb
Constant Summary collapse
- @@logger =
nil
Class Method Summary collapse
Class Method Details
.logger=(logger) ⇒ Object
12 13 14 |
# File 'lib/slf4r/wrapped_logger.rb', line 12 def self.logger=(logger) @@logger = logger end |
.new_logger_facade(name) ⇒ Object
7 8 9 10 |
# File 'lib/slf4r/wrapped_logger.rb', line 7 def self.new_logger_facade(name) raise "set logger first" unless @@logger @@logger end |