module Synchronisable::Helper::Logging
Provides logging helper methods. Class or module that includes this one should implement `logger` method.
@api private
Protected Instance Methods
log_info(msg, color = :white, force = true)
click to toggle source
# File lib/synchronisable/helper/logging.rb, line 17 def log_info(msg, color = :white, force = true) text = msg.colorize(color) if colorize_logging? logger.info(text) if force || verbose_logging? end