diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 9a8117d2c2..755e203f58 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -78,6 +78,11 @@ class Chef formatters << [name, file_path] end + # + def self.add_event_logger(logger) + event_handlers << logger + end + # Config file to load (client.rb, knife.rb, etc. defaults set differently in knife, chef-client, etc.) configurable(:config_file) |