Class: LicenseFinder::Logger::Verbose

Inherits:
Base
  • Object
show all
Defined in:
lib/license_finder/logger.rb

Instance Method Summary collapse

Instance Method Details

#log(prefix, string, options = {}) ⇒ Object



42
43
44
# File 'lib/license_finder/logger.rb', line 42

def log(prefix, string, options = {})
  printf("%s: %s\n", prefix, Logger.colorize(string, options[:color]))
end