summaryrefslogtreecommitdiff
path: root/spec/mixlib/log_spec.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-01-17 10:34:57 +0000
committerThom May <thom@chef.io>2018-01-17 10:34:57 +0000
commit62249f18082129fb956804ecfa2f90529a6adc6d (patch)
tree50a5d844719b75e4ccbb5a7500721212b332cb2c /spec/mixlib/log_spec.rb
parent989553b118791268db96f75afba002da05506b88 (diff)
downloadmixlib-log-62249f18082129fb956804ecfa2f90529a6adc6d.tar.gz
Add child loggers
Child loggers mean that we can create new instances of a logger for subsystems or specific classes, but still only have a single set of outputs. Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/mixlib/log_spec.rb')
-rw-r--r--spec/mixlib/log_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/log_spec.rb b/spec/mixlib/log_spec.rb
index 277035d..69eebd5 100644
--- a/spec/mixlib/log_spec.rb
+++ b/spec/mixlib/log_spec.rb
@@ -19,7 +19,7 @@
require "tempfile"
require "stringio"
-require File.expand_path(File.join(File.dirname(__FILE__), "..", "spec_helper"))
+require "spec_helper"
class LoggerLike
attr_accessor :level