SAPcpmsLogSettings
public struct SAPcpmsLogSettings
Describes the SAPcpms Log settings structure
-
Parameter from Mobile Services’ Client Policies which tells if the log is to be uploaded; used by SAPcpmsLogUploader
Declaration
Swift
public let logUploadEnabled: Bool -
Parameter from Mobile Services’ Client Policies which sets the number of days after the log expires; used by SAPcpmsLogUploader
Declaration
Swift
public let entryExpiry: Int -
Parameter from Mobile Services’ Client Policies to set the log level
Declaration
Swift
public let logLevel: String -
Parameter from Mobile Services’ Client Policies to set the maximum number of files; used by ‘SAPcpmsLogUploader’
Declaration
Swift
public let maxFileNum: Int -
Parameter from Mobile Services’ Client Policies to set the maximum file size in MB; used by ‘SAPcpmsLogUploader’
Declaration
Swift
public let maxFileSize: Int -
Initializer
Declaration
Swift
public init(logUploadEnabled: Bool = true, entryExpiry: Int = 0, logLevel: String, maxFileNum: Int = 0, maxFileSize: Int = 5)Parameters
logUploadEnabledBool parameter to describe if the logs are to be uploaded; used by SAPcpmsLogUploader
entryExpiryInt parameter which describes the expiration day number; used by SAPcpmsLogUploader
logLevelString parameter to describe the logging levels
maxFileNumInt parameter to describe the maximum number of files; used by ‘SAPcpmsLogUploader’
maxFileSizeInt parameter to describe the maximum file size in MB; used by ‘SAPcpmsLogUploader’