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

- (Object) debug(msg)



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

def debug( msg ); end

- (Object) error(msg)



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

def error( msg ); end

- (Object) fatal(msg)



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

def fatal( msg ); end

- (Object) info(msg)



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

def info( msg );  end

- (Object) warn(msg)



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

def warn( msg );  end