module RGFA::LoggerSupport
Progress logging related-methods for RGFA
class
Public Instance Methods
enable_progress_logging(part: 0.1, channel: STDERR)
click to toggle source
Activate logging of progress @return [RGFA] self
# File lib/rgfa/logger.rb, line 162 def enable_progress_logging(part: 0.1, channel: STDERR) @progress = RGFA::Logger.new(channel: channel) @progress.enable_progress(part: part) return self end
progress_log(symbol, progress=1, **keyargs)
click to toggle source
@!macro progress_log
@return [RGFA] self @api private
# File lib/rgfa/logger.rb, line 179 def progress_log(symbol, progress=1, **keyargs) @progress.progress_log(symbol, progress) if @progress return self end
progress_log_end(symbol, **keyargs)
click to toggle source
@!macro progress_end @return [RGFA] self @api private
# File lib/rgfa/logger.rb, line 187 def progress_log_end(symbol, **keyargs) @progress.progress_end(symbol) if @progress return self end
progress_log_init(symbol, units, total, initmsg = nil)
click to toggle source
@!macro progress_init @return [RGFA] self @api private
# File lib/rgfa/logger.rb, line 171 def progress_log_init(symbol, units, total, initmsg = nil) @progress.progress_init(symbol, units, total, initmsg) if @progress return self end