Contents

isEnabled(type:)

Returns a Boolean value that indicates whether the log can write messages with the specified log type.

Declaration

func isEnabled(type: OSLogType) -> Bool

Parameters

Return Value

true if logging at the specified level is in an enabled state; otherwise, false.