Module: RDFMapper::Logger
- Included in:
- Adapters::Base, Adapters::Rails::Query, Adapters::SPARQL::Query, Associations::Base, Model, Model::Attribute, Scope::Query
- Defined in:
- lib/lib/util/logger.rb
Overview
A convenience wrapper around Ruby’s standard Logger object.
Defined Under Namespace
Modules: Configuration
Instance Method Summary collapse
-
#debug(message) ⇒ Object
Logs a debug message using RDFMapper::Logger.
-
#fatal(message) ⇒ Object
Logs a fatal error using RDFMapper::Logger.
-
#warn(message) ⇒ Object
Logs a warning message using RDFMapper::Logger.
Instance Method Details
#debug(message) ⇒ Object
Logs a debug message using RDFMapper::Logger
48 49 50 |
# File 'lib/lib/util/logger.rb', line 48 def debug() log(0, ) end |
#fatal(message) ⇒ Object
Logs a fatal error using RDFMapper::Logger
30 31 32 |
# File 'lib/lib/util/logger.rb', line 30 def fatal() log(4, ) end |
#warn(message) ⇒ Object
Logs a warning message using RDFMapper::Logger
39 40 41 |
# File 'lib/lib/util/logger.rb', line 39 def warn() log(2, ) end |