Module: Ciql::Client::Log
Constant Summary collapse
- DEFAULT_LOG_FORMAT =
'CQL %{query} [%{consistency}] (%<duration>.3fms) '.freeze
Instance Method Summary collapse
Instance Method Details
#log(message) ⇒ Object
5 6 7 8 |
# File 'lib/ciql/client/log.rb', line 5 def log() return unless Ciql.logger.debug? Ciql.logger.debug (@log_format or DEFAULT_LOG_FORMAT) % end |