rollbar-apple icon indicating copy to clipboard operation
rollbar-apple copied to clipboard

Rollbar.currentLogger() is not a function

Open happylinks opened this issue 3 years ago • 1 comments

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

happylinks avatar Dec 12 '22 08:12 happylinks

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

hvanderlinde avatar Oct 11 '24 15:10 hvanderlinde