core: Ui::Prefixed values instance-level opts

This commit is contained in:
Mitchell Hashimoto 2014-02-08 15:14:44 -08:00
parent e6ca9d6f81
commit 342fba8182
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ module Vagrant
end
def format_message(type, message, **opts)
opts = self.opts.merge(opts)
prefix = ""
if !opts.has_key?(:prefix) || opts[:prefix]
prefix = OUTPUT_PREFIX