VGSCollectLogger
public final class VGSCollectLogger
VGSCollectLogger encapsulates logging logic and debugging options for VGSCollectSDK. Use .configuration property to setup these options. VGSCollectLogger logging implies only printing logs to Xcode console. It doesn’t save logs to persistent store/local file, also it doesn’t send debugging logs to backend services.
IMPORTANT You should NOT use logging in your production configuration for live apps.
-
Shared instance.
Declaration
Swift
nonisolated(unsafe) public static let shared: VGSCollectLogger -
Logging configuration. Check
VGSCollectLoggingConfigurationfor logging options.Declaration
Swift
public var configuration: VGSCollectLoggingConfiguration
-
Stop logging all activities.
Declaration
Swift
public func disableAllLoggers()
View on GitHub