Class: Servolux::NullLogger

Inherits:
Logger
  • Object
show all
Includes:
Singleton
Defined in:
lib/servolux/null_logger.rb

Overview

A "do nothing" implementation of the standard Ruby Logger class.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ NullLogger

Returns a new instance of NullLogger.



8
# File 'lib/servolux/null_logger.rb', line 8

def initialize(*args); end

Instance Method Details

#add(*args, &block) ⇒ Object



9
# File 'lib/servolux/null_logger.rb', line 9

def add(*args, &block); end