module Logger
Display and log project messages
Public Class Methods
verbose(msg)
click to toggle source
Display and log text
# File lib/asker/logger.rb, line 10 def self.verbose(msg) puts msg if Application.instance.config['global']['verbose'] == 'yes' Project.instance.get(:logfile)&.write("#{msg}\n") end
verboseln(msg)
click to toggle source
Display and log text line
# File lib/asker/logger.rb, line 17 def self.verboseln(msg) verbose(msg + "\n") end