vaguerent/lib/vagrant/util/plain_logger.rb

13 lines
340 B
Ruby

module Vagrant
module Util
# Subclass of the standard library logger which has no format on
# its own. The message sent to the logger is outputted as-is.
class PlainLogger < ::Logger
def format_message(level, time, progname, msg)
# We do no formatting, its up to the user
msg
end
end
end
end