From 377fa1f7cc8fe733279d0db21466806c047b44e2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 20 May 2010 20:46:20 -0700 Subject: [PATCH] Systems base now uses new environment logger. --- lib/vagrant/systems/base.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/systems/base.rb b/lib/vagrant/systems/base.rb index 41c6e674a..fc7c6a027 100644 --- a/lib/vagrant/systems/base.rb +++ b/lib/vagrant/systems/base.rb @@ -27,6 +27,12 @@ module Vagrant @vm = vm end + # A convenience method to access the logger on the VM + # environment. + def logger + vm.env.logger + end + # Halt the machine. This method should gracefully shut down the # operating system. This method will cause `vagrant halt` and associated # commands to _block_, meaning that if the machine doesn't halt @@ -50,4 +56,4 @@ module Vagrant def mount_shared_folder(ssh, name, guestpath); end end end -end \ No newline at end of file +end