Module: RDFMapper::Logger

Overview

A convenience wrapper around Ruby’s standard Logger object.

Defined Under Namespace

Modules: Configuration

Instance Method Summary collapse

Instance Method Details

#debug(message) ⇒ Object

Logs a debug message using RDFMapper::Logger

@return



48
49
50
# File 'lib/lib/util/logger.rb', line 48

def debug(message)
  log(0, message)
end

#fatal(message) ⇒ Object

Logs a fatal error using RDFMapper::Logger

@return



30
31
32
# File 'lib/lib/util/logger.rb', line 30

def fatal(message)
  log(4, message)
end

#warn(message) ⇒ Object

Logs a warning message using RDFMapper::Logger

@return



39
40
41
# File 'lib/lib/util/logger.rb', line 39

def warn(message)
  log(2, message)
end