Sha256: 3bd18ce5e3699b5fadf1ca00863b3d9f1baad488f33d1124acdfc8f323539229

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

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}\n"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
vagrantup-0.4.3.dev lib/vagrant/util/plain_logger.rb
vagrantup-0.4.1 lib/vagrant/util/plain_logger.rb
vagrantup-0.4.0 lib/vagrant/util/plain_logger.rb
vagrant-0.4.2 lib/vagrant/util/plain_logger.rb
vagrant-0.4.1 lib/vagrant/util/plain_logger.rb
vagrant-0.4.0 lib/vagrant/util/plain_logger.rb