Debugging
// Log only warnings and errors.
VGSCollectLogger.shared.configuration.level = .warning
// Log network requests.
VGSCollectLogger.shared.configuration.isNetworkDebugEnabled = trueLog levels
/// Defines levels of logging.
public enum VGSLogLevel: String {
/// Log *all* events including errors and warnings.
case info
/// Log *only* events indicating warnings and errors.
case warning
/// Log *no* events.
case none
}Disable logging
Extensive logging
Last updated

