test/appender/wrapper_test.rb in semantic_logger-4.0.0 vs test/appender/wrapper_test.rb in semantic_logger-4.1.0
- old
+ new
@@ -9,10 +9,10 @@
SemanticLogger.default_level = :trace
SemanticLogger.backtrace_level = :trace
@time = Time.new
@mock_logger = MockLogger.new
- @appender = SemanticLogger::Appender::Wrapper.new(@mock_logger)
+ @appender = SemanticLogger::Appender::Wrapper.new(logger: @mock_logger)
@hash = {session_id: 'HSSKLEU@JDK767', tracking_number: 12345}
@hash_str = @hash.inspect.sub("{", "\\{").sub("}", "\\}")
@thread_name = Thread.current.name
@file_name_reg_exp = ' wrapper_test.rb:\d+'
end