Allow you to turn full verbosity on easily

This commit is contained in:
David Heinemeier Hansson
2023-01-11 17:05:20 +01:00
parent 3b3ab48120
commit 4392bf0ee9

View File

@@ -15,6 +15,9 @@ else
MRSK_CONFIG = Mrsk::Configuration.new({}, validate: false)
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
def verbosity(level)
old_level = SSHKit.config.output_verbosity