Skip to content

Commit

Permalink
Updated logger class.
Browse files Browse the repository at this point in the history
  • Loading branch information
aantix committed May 15, 2023
1 parent f766be4 commit b363d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/thread_safety_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "test_helper"
require "callstacking/rails/logger"

# CALLSTACKING_API_TOKEN required for these integration tests. Full end-to-end.
# https://github.com/callstacking/callstacking-rails/settings/secrets/actions
Expand Down Expand Up @@ -28,7 +27,7 @@ class ThreadSafetyTest < ActionDispatch::IntegrationTest

sleep 20

Logger.log("url: #{url} -- json: #{json.inspect}")
::Callstacking::Rails::Logger.log("url: #{url} -- json: #{json.inspect}")

json['trace_entries'][1..10].each do |trace_entry|
assert_equal klass, trace_entry['klass']
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'callstacking/rails/env'
require 'callstacking/rails/client/base'
require 'callstacking/rails/client/authenticate'
require "callstacking/rails/logger"

ENV["RAILS_ENV"] = "test"

Expand Down

0 comments on commit b363d8a

Please sign in to comment.