Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

hasContent(record:)

iOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
Indicates whether the fragment will write anything to output when write(_:to:) is called.
func hasContent(record: inout LogRecord) -> Bool

Discussion

This is used to determine whether writing a separator should be skipped.