We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 070e298 commit 0beab2dCopy full SHA for 0beab2d
lib/shopify_app/logger.rb
@@ -11,12 +11,12 @@ def deprecated(message, version)
11
deprecator.warn("[#{version}] #{context(:warn)} #{message}")
12
end
13
14
+ private
15
+
16
def deprecator
17
@deprecator ||= ActiveSupport::Deprecation.new(ShopifyApp::VERSION, "ShopifyApp")
18
19
- private
-
20
def context(log_level)
21
current_shop = ShopifyAPI::Context.active_session&.shop || "Shop Not Found"
22
"[ ShopifyApp | #{log_level.to_s.upcase} | #{current_shop} ]"
0 commit comments