Skip to content

Conversation

@kieran-osgood-shopify
Copy link
Contributor

@kieran-osgood-shopify kieran-osgood-shopify commented Aug 18, 2025

What changes are you making?

image

Before you merge

Important

Releasing a new version of the kit?

Releasing a new major version?

  • I have bumped the version number in the README.

Tip

See the Contributing documentation for instructions on how to publish a new version of the library.

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/feat/add-verbose-logging branch from f3c2e54 to 7512ef7 Compare August 19, 2025 08:41
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/feat/add-verbose-logging branch 5 times, most recently from 1b33b56 to 91dc780 Compare September 8, 2025 13:20
case .ready:
// No-op: error handler not called for success result
ShopifyAcceleratedCheckouts.logger.error("ErrorHandler: map: received unexpected result type from Cart API on prepare")
ShopifyAcceleratedCheckouts.logger
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods are static so still using the global namespaced logger

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/feat/add-verbose-logging branch from 91dc780 to fdf4cae Compare September 8, 2025 13:26
identifier = .cart(cartID: cartID).parse()
if case let .invariant(reason) = identifier {
ShopifyAcceleratedCheckouts.logger.error(reason)
ShopifyAcceleratedCheckouts.logger.logError(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't conform the Structs to Loggable so also using global here

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/feat/add-verbose-logging branch from fdf4cae to 1f8ac8a Compare September 8, 2025 13:37
@kieran-osgood-shopify kieran-osgood-shopify changed the title DRAFT: feat: setup extended logging [AC]: add verbose logging Sep 8, 2025
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/feat/add-verbose-logging branch from da00ce7 to dd6f675 Compare September 8, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant