Module: DirectoryWatcher::Logable

### Home Classes Methods

### In Files

- lib/directory_watcher/logable.rb

### Methods

- ::default_logger
- #logger

### Files

- History.txt
- README.txt

### Class/Module Index

Quicksearch

- DirectoryWatcher
- DirectoryWatcher::Collector
- DirectoryWatcher::Configuration
- DirectoryWatcher::CoolioScanner
- DirectoryWatcher::EmScanner
- DirectoryWatcher::Event
- DirectoryWatcher::EventableScanner
- DirectoryWatcher::FileStat
- DirectoryWatcher::Logable
- DirectoryWatcher::Notifier
- DirectoryWatcher::NullLogger
- DirectoryWatcher::Paths
- DirectoryWatcher::RevScanner
- DirectoryWatcher::Scan
- DirectoryWatcher::ScanAndQueue
- DirectoryWatcher::Scanner
- DirectoryWatcher::Threaded
- DirectoryWatcher::Version
- Object

No matching classes.

# DirectoryWatcher::Logable

### Public Class Methods

default_logger() click to toggle source

    # File lib/directory_watcher/logable.rb, line 18
    def self.default_logger
      require 'logging'
      Logging::Logger[DirectoryWatcher]
    rescue LoadError
      NullLogger.new
    end

### Public Instance Methods

logger() click to toggle source

    # File lib/directory_watcher/logable.rb, line 14
    def logger
      @config.logger
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.