Contents

OSLogIntegerFormatting

The formatting options for integer values.

Declaration

@frozen struct OSLogIntegerFormatting

Mentioned in

Overview

An OSLogIntegerFormatting structure encapsulates the formatting details for integer numbers. Use the static decimal, hex, and octal structures to apply default formatting to integer values. You can also create new OSLogIntegerFormatting structures that customize the rules for handling a leading plus sign, special numerical prefixes, the minimum number of digits, and more.

Topics

Getting the Standard Formats

Creating a Custom Integer Format

See Also

Value Formatters