Sha256: 53e258ba65b6068cc4b83cc31bde1116415760598750a29a0b0a85c7168436ec
Contents?: true
Size: 355 Bytes
Versions: 19
Compression:
Stored size: 355 Bytes
Contents
module Ezlog module Sequel module LoggingExtension def self.extended(db) db.instance_exec do self.sql_log_level = :debug self.log_connection_info = false @loggers << Ezlog.logger('Sequel') end end end ::Sequel::Database.register_extension :ezlog_logging, LoggingExtension end end
Version data entries
19 entries across 19 versions & 1 rubygems