Contents

os_log(_:)

Adds a new log message to the default subsystem.

Declaration

func os_log(_ message: OSLogMessage)

Parameters

  • message:

    A string containing the message you want to log. Always specify this parameter as a string; this function converts it to an Oslogmessage object. You may include interpolated values in the string.

See Also

Log Messages