Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: logs now show up in mac console app #80

Merged
merged 4 commits into from
Dec 3, 2021
Merged

fix: logs now show up in mac console app #80

merged 4 commits into from
Dec 3, 2021

Conversation

levibostian
Copy link
Contributor

@levibostian levibostian commented Nov 19, 2021

To better improve the QA experience of the team, log messages now show up in the macOS Console app instead of just the Xcode console. This allows the team to be able to view logs for pre-built versions of the app and not just builds built in Xcode.

func info(_ message: String)
func warning(_ message: String)
/// the SDK is in an unstable state that you want to notify
Copy link
Contributor

Choose a reason for hiding this comment

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

decided to cut the warn level?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. The original list of log levels (info, warning, verbose, etc) mostly came Android TBH.

The Swift Logger class does not include a warning case so I removed it.

@levibostian levibostian self-assigned this Dec 1, 2021
@levibostian levibostian merged commit 535d0be into alpha Dec 3, 2021
@levibostian levibostian deleted the logging branch December 3, 2021 22:08
github-actions bot pushed a commit that referenced this pull request Dec 3, 2021
# [1.0.0-alpha.19](1.0.0-alpha.18...1.0.0-alpha.19) (2021-12-03)

### Bug Fixes

* logs now show up in mac console app ([#80](#80)) ([535d0be](535d0be))
@ami-ci
Copy link
Contributor

ami-ci commented Dec 3, 2021

🎉 This PR is included in version 1.0.0-alpha.19 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Dec 15, 2021
# 1.0.0-beta.1 (2021-12-15)

### Bug Fixes

* call callback on main thread APN tokens ([#40](#40)) ([982ce9d](982ce9d))
* convert APN device token to string ([#39](#39)) ([1f64a13](1f64a13))
* deep links previously being ignored ([#79](#79)) ([2041767](2041767))
* improve user-agent with more detail ([#74](#74)) ([4301034](4301034))
* logs now show up in mac console app ([#80](#80)) ([535d0be](535d0be))
* opened push metrics ([#70](#70)) ([a277378](a277378))
* remove apn device token profile request body ([#41](#41)) ([61946c4](61946c4))
* rename singletons instance to shared ([#34](#34)) ([3bf1384](3bf1384))
* rename stop identify function ([#31](#31)) ([d97e931](d97e931))

### Features

* automatic push events ([#63](#63)) ([cf81b23](cf81b23))
* create mocks for push messaging ([#35](#35)) ([b2c5d62](b2c5d62))
* event tracking ([#42](#42)) ([be768bb](be768bb))
* identify customer ([#27](#27)) ([f79d1c9](f79d1c9))
* make US default region ([#28](#28)) ([1d10a8f](1d10a8f))
* register device token with FCM ([#46](#46)) ([f6a87e0](f6a87e0))
* register/delete device tokens ([#26](#26)) ([d0ddc07](d0ddc07))
* rich push deep links ([#45](#45)) ([fe21cc8](fe21cc8))
* rich push images ([#59](#59)) ([03fc284](03fc284))
* save all siteids registered with SDK ([#30](#30)) ([95db6dc](95db6dc))
* track push events ([#47](#47)) ([a37e60e](a37e60e))
@ami-ci
Copy link
Contributor

ami-ci commented Dec 15, 2021

🎉 This PR is included in version 1.0.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

ami-ci pushed a commit that referenced this pull request Jan 19, 2022
# 1.0.0 (2022-01-19)

### Bug Fixes

* add createdAt timestamp to added queue tasks  ([#106](#106)) ([46aab62](46aab62))
* automatic screenview tracking correct siteid ([#120](#120)) ([abd3ea9](abd3ea9))
* background queue timer scheduling and running ([#114](#114)) ([6be8a74](6be8a74))
* call callback on main thread APN tokens ([#40](#40)) ([982ce9d](982ce9d))
* change hostname for CIO API ([#109](#109)) ([90e9407](90e9407))
* convert APN device token to string ([#39](#39)) ([1f64a13](1f64a13))
* deep links previously being ignored ([#79](#79)) ([2041767](2041767))
* duplicate entries for active workspace ([#124](#124)) ([c903e4a](c903e4a))
* improve user-agent with more detail ([#74](#74)) ([4301034](4301034))
* logs now show up in mac console app ([#80](#80)) ([535d0be](535d0be))
* more safely handle 5xx, 401 status codes ([#107](#107)) ([d56807b](d56807b))
* mutex locks shared across instances ([#119](#119)) ([cb169bf](cb169bf))
* opened push metrics ([#70](#70)) ([a277378](a277378))
* opened push metrics being sent to API again ([#111](#111)) ([93971bf](93971bf))
* remove apn device token profile request body ([#41](#41)) ([61946c4](61946c4))
* remove custom jsonencoder public functions ([#122](#122)) ([061a568](061a568))
* rename singletons instance to shared ([#34](#34)) ([3bf1384](3bf1384))
* rename stop identify function ([#31](#31)) ([d97e931](d97e931))
* screen view tracking ([#108](#108)) ([f836b9a](f836b9a))
* track events type in HTTP requests ([#117](#117)) ([745d4ad](745d4ad))

### Features

* add [String:Any] support to identify & track ([#94](#94)) ([5a220c4](5a220c4))
* add screen view tracking ([#82](#82)) ([c2034a6](c2034a6))
* automatic push events ([#63](#63)) ([cf81b23](cf81b23))
* create background queue  ([#99](#99)) ([80fffb8](80fffb8))
* create mocks for push messaging ([#35](#35)) ([b2c5d62](b2c5d62))
* event tracking ([#42](#42)) ([be768bb](be768bb))
* identify customer ([#27](#27)) ([f79d1c9](f79d1c9))
* make US default region ([#28](#28)) ([1d10a8f](1d10a8f))
* register device token with FCM ([#46](#46)) ([f6a87e0](f6a87e0))
* register/delete device tokens ([#26](#26)) ([d0ddc07](d0ddc07))
* rich push deep links ([#45](#45)) ([fe21cc8](fe21cc8))
* rich push images ([#59](#59)) ([03fc284](03fc284))
* save all siteids registered with SDK ([#30](#30)) ([95db6dc](95db6dc))
* subsequent identifies without passing identifier ([#96](#96)) ([47d9166](47d9166))
* track push events ([#47](#47)) ([a37e60e](a37e60e))
@ami-ci
Copy link
Contributor

ami-ci commented Jan 19, 2022

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants