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

    Swift

    class func sharedInstance() -> FIRConfiguration!

    Objective-C

    + (FIRConfiguration *)sharedInstance;
  • The configuration class for Firebase Analytics.

    Declaration

    Swift

    var analyticsConfiguration: FIRAnalyticsConfiguration! { get set }

    Objective-C

    @property (assign, readwrite, nonatomic)
        FIRAnalyticsConfiguration *analyticsConfiguration;
  • Global log level. Defaults to kFIRLogLevelError.

    Declaration

    Swift

    var logLevel: FIRLogLevel { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) FIRLogLevel logLevel;