Sha256: 0ba88ef28d2bc2a18e14159e1ea02f58eab83f397d3a3639004b1bb0463bc484

Contents?: true

Size: 182 Bytes

Versions: 7

Compression:

Stored size: 182 Bytes

Contents

module Volt
  module Sql
    module SqlLogger

      def log(msg)
        if ENV['LOG_SQL']
          Volt.logger.log_with_color(msg, :cyan)
        end
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
volt-sql-0.0.7 app/sql/lib/sql_logger.rb
volt-sql-0.0.6 app/sql/lib/sql_logger.rb
volt-sql-0.0.5 app/sql/lib/sql_logger.rb
volt-sql-0.0.4 app/sql/lib/sql_logger.rb
volt-sql-0.0.3 app/sql/lib/sql_logger.rb
volt-sql-0.0.2 app/sql/lib/sql_logger.rb
volt-sql-0.0.1 app/sql/lib/sql_logger.rb