Contents

OSLogType

The various log levels that the unified logging system provides.

Declaration

struct OSLogType

Overview

A log level controls how and when the system writes a message to the unified logging system. To write a message with a specific log level, create a Logger and call its log(level:_:) method. Alternatively, call the method that corresponds to the desired log level, such as debug(_:) or fault(_:).

Topics

Getting Log Types

Creating a Log Type

Getting the Raw Value

See Also

Log Messages