Configuration
public struct Configuration
The Configuration struct describes how to configure Glean as well as providing convenience
property for calculating the FfiConfiguration
-
init(maxEvents:
channel: serverEndpoint: dataPath: logLevel: enableEventTimestamps: experimentationId: enableInternalPings: pingLifetimeThreshold: pingLifetimeMaxTime: pingSchedule: ) Create a new Glean
Configuration
objectDeclaration
Swift
public init( maxEvents: Int32? = nil, channel: String? = nil, serverEndpoint: String? = nil, dataPath: String? = nil, logLevel: LevelFilter? = nil, enableEventTimestamps: Bool = true, experimentationId: String? = nil, enableInternalPings: Bool = true, pingLifetimeThreshold: Int = 0, pingLifetimeMaxTime: Int = 0, pingSchedule: [String: [String]] = [:] )