Sha256: be550167d1400d71ee5dfcdcd0c1f9368b5643630e4c624ec0e20ce5c343c7af
Contents?: true
Size: 430 Bytes
Versions: 16
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true module Appydave module Tools # Debuggable is a module for adding debug logging to classes module Debuggable attr_accessor :debug def log_info(message) log.info(message) if debug end def log_kv(key, value) log.kv(key, value) if debug end def log_subheading(message) log.subheading(message) if debug end end end end
Version data entries
16 entries across 16 versions & 1 rubygems