Class: DirectoryWatcher::NullLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/directory_watcher/logable.rb

Overview

This is the implementation of a logger that does nothing. It has all the debug, info, warn, error, fatal methods, but they do nothing

Instance Method Summary collapse

Instance Method Details

#debug(msg) ⇒ Object


6
# File 'lib/directory_watcher/logable.rb', line 6

def debug( msg ); end

#error(msg) ⇒ Object


9
# File 'lib/directory_watcher/logable.rb', line 9

def error( msg ); end

#fatal(msg) ⇒ Object


10
# File 'lib/directory_watcher/logable.rb', line 10

def fatal( msg ); end

#info(msg) ⇒ Object


7
# File 'lib/directory_watcher/logable.rb', line 7

def info( msg );  end

#warn(msg) ⇒ Object


8
# File 'lib/directory_watcher/logable.rb', line 8

def warn( msg );  end