Skip to content

Rollbar.currentLogger() is not a function #244

@happylinks

Description

@happylinks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions