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
logUploadEnabled
Bool parameter to describe if the logs are to be uploaded; used by SAPcpmsLogUploader
entryExpiry
Int parameter which describes the expiration day number; used by SAPcpmsLogUploader
logLevel
String parameter to describe the logging levels
maxFileNum
Int parameter to describe the maximum number of files; used by ‘SAPcpmsLogUploader’
maxFileSize
Int parameter to describe the maximum file size in MB; used by ‘SAPcpmsLogUploader’