You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sentry-ruby/lib/sentry-ruby.rb
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,11 @@ def exception_locals_tp
94
94
# @return [Metrics::Aggregator, nil]
95
95
attr_reader:metrics_aggregator
96
96
97
+
# @!attribute [r] logger
98
+
# @return [Logger]
99
+
# @!visibility private
100
+
attr_reader:sdk_logger
101
+
97
102
##### Patch Registration #####
98
103
99
104
# @!visibility private
@@ -138,7 +143,7 @@ def integrations
138
143
# @param version [String] version of the integration
139
144
defregister_integration(name,version)
140
145
ifinitialized?
141
-
logger.warn(LOGGER_PROGNAME)do
146
+
sdk_logger.warn(LOGGER_PROGNAME)do
142
147
<<~MSG
143
148
Integration '#{name}' is loaded after the SDK is initialized, which can cause unexpected behavior. Please make sure all integrations are loaded before SDK initialization.
0 commit comments