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

Rollbar.currentLogger() is not a function #244

Open
happylinks opened this issue Dec 12, 2022 · 1 comment
Open

Rollbar.currentLogger() is not a function #244

happylinks opened this issue Dec 12, 2022 · 1 comment

Comments

@happylinks
Copy link

Describe the bug
In the documentation to use AUL there's this line:
RollbarAulStoreMonitor.sharedInstance().configureRollbarLogger(Rollbar.currentLogger());
However, Rollbar.currentLogger() is not a function, and I can't find what it's supposed to be.
I'm trying to connect Rollbar to Apple Universal Logging but it's not working yet.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the documentation here: https://docs.rollbar.com/docs/sdk-module-rollbaraul
  2. Get an error on Rollbar.currentLogger()

Expected behavior
I expect Rollbar.currentLogger() to be defined, or the docs to be updated to make AUL work.

Screenshots
image

Rollbar-Apple SDK version: v.2.4.0

Calling the SDK from (x-mark all suitable):
[] Objective-C
[X] Swift
[] Other:

Runtime environment (please complete the following information as applicable):

  • Device: Macbook Pro M1
  • OS: macOs
  • OS version: Ventura

Additional context

@hvanderlinde
Copy link

I've got the same issue. Are there any known workarounds?

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

No branches or pull requests

2 participants