class Mysqlknife::Log
Attributes
verbose[W]
Public Class Methods
new()
click to toggle source
# File lib/mysqlknife/log.rb, line 7 def initialize @log = Logger.new(STDOUT) end
Public Instance Methods
command(command)
click to toggle source
# File lib/mysqlknife/log.rb, line 11 def command(command) @log.debug("Bash Command: #{command}") if $DEBUG end