Sends a message at a specific logging level, such as default, info, debug, error, or fault, to the logging system.
- iOS 10.0+
- macOS 10.12+
- tvOS 10.0+
- watchOS 3.0+
A constant string or format string that produces a human-readable log message. See Formatting Log Messages.
Calling this function doesn’t ensure that a message is logged. Logging always occurs in accordance with the behavior settings of the provided log object and type. Note that lengthy log messages may be truncated when stored by the logging system.