Sends an info-level message to the logging system.
- iOS 10.0+
- macOS 10.12+
- UIKit for Mac 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
A constant string or format string that produces a human-readable log message. See Formatting Log Messages.
Call this function to capture information that may be helpful, but isn’t essential, for troubleshooting. Info-level messages sent by this function are initially stored in memory. Without a configuration change, they are not moved to the data store as memory buffers fill. They are, however, captured in the data store when faults and, optionally, errors occur. When info-level messages are added to the data store, they remain there until the storage quota is exceeded, at which point, the oldest messages are purged.
Calling this function is equivalent to calling the
os function and specifying a log type of
OS. Note that lengthy log messages may be truncated when stored by the logging system.