Contents

maxOSLogArgumentCount

The maximum number of interpolated expressions that a log message may contain.

Declaration

var maxOSLogArgumentCount: UInt8 { get }

Discussion

For log messages that include interpolated values, the system imposes a limit on the total number of expressions that a single message may include. The following example shows a string that contains an interpolated value:

let fileID = 941
let message = "Created a file with ID \(fileID)"

See Also

Getting the Message Details