Module: DataObjects::Logging

### Home Classes Methods

### In Files

- lib/data_objects/logger.rb

### Methods

- #log

### Class/Module Index

Quicksearch

- DataObjects
- DataObjects::Command
- DataObjects::Connection
- DataObjects::ConnectionError
- DataObjects::DataError
- DataObjects::Error
- DataObjects::Extension
- DataObjects::IntegrityError
- DataObjects::Logger
- DataObjects::Logging
- DataObjects::Pooling
- DataObjects::Pooling::InvalidResourceError
- DataObjects::Pooling::Pool
- DataObjects::Quoting
- DataObjects::Reader
- DataObjects::Result
- DataObjects::SQLError
- DataObjects::SavePoint
- DataObjects::Spec
- DataObjects::Spec::PendingHelpers
- DataObjects::SyntaxError
- DataObjects::Transaction
- DataObjects::TransactionError
- DataObjects::URI
- Extlib
- Extlib::ByteArray
- CustomTextType
- MyString
- Object
- SSLHelpers

No matching classes.

# DataObjects::Logging

### Public Instance Methods

log(message) click to toggle source

    # File lib/data_objects/logger.rb, line 7
    def log(message)
      logger = driver_namespace.logger
      if logger.level <= DataObjects::Logger::LEVELS[:debug]
        message = "(%.6f) %s" % [message.duration / 1000000.0, message.query]
        logger.debug message
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.