Allow you to turn full verbosity on easily
This commit is contained in:
@@ -15,6 +15,9 @@ else
|
|||||||
MRSK_CONFIG = Mrsk::Configuration.new({}, validate: false)
|
MRSK_CONFIG = Mrsk::Configuration.new({}, validate: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Allow easy full verbosity mode
|
||||||
|
SSHKit.config.output_verbosity = :debug if ENV["VERBOSE"]
|
||||||
|
|
||||||
# Set a different verbosity level for the duration of the yield
|
# Set a different verbosity level for the duration of the yield
|
||||||
def verbosity(level)
|
def verbosity(level)
|
||||||
old_level = SSHKit.config.output_verbosity
|
old_level = SSHKit.config.output_verbosity
|
||||||
|
|||||||
Reference in New Issue
Block a user