Skip to content

Android: do I need to call static method LogManager.initialize(String tenantToken, ILogConfiguration configuration) #940

Description

@theta3

Looking at section 6 https://github.com/microsoft/cpp_client_telemetry/blob/main/docs/cpp-start-android.md. ILogger is obtained through calling LogManager.initialize(). But there is also static LogManager.getLogger(tenantId, source) and non static getLogger(). Looking at the test https://github.com/microsoft/cpp_client_telemetry/blob/main/lib/android_build/app/src/androidTest/java/com/microsoft/applications/events/maesdktest/LogManagerDDVUnitTest.java : multipleLogManagerInstantiation(), initialize() isn't called. What's the difference between these 3 methods?

Do I need to call LogManager.initialize() to init the SDK?

If I create multiple ILogConfiguration configs, which config will be used when calling static LogManager.getLogger(tenantId, source) ?

Activity

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

Metadata

Metadata

Labels

iOSiOS related issuequestionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions