FIRConfiguration


@interface FIRConfiguration : NSObject

This interface provides global level properties that the developer can tweak, and the singleton of the Firebase Analytics configuration class.

  • Returns the shared configuration object.

    Declaration

    Objective-C

    @property (readonly, nonatomic, class) FIRConfiguration *_Nonnull sharedInstance;
  • The configuration class for Firebase Analytics.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        FIRAnalyticsConfiguration *_Nonnull analyticsConfiguration;
  • Sets the logging level for internal Firebase logging. Firebase will only log messages that are logged at or below loggerLevel. The messages are logged both to the Xcode console and to the device’s log. Note that if an app is running from AppStore, it will never log above FIRLoggerLevelNotice even if loggerLevel is set to a higher (more verbose) setting.

    Declaration

    Objective-C

    - (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel;

    Parameters

    loggerLevel

    The maximum logging level. The default level is set to FIRLoggerLevelNotice.