Skip to content

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

Instance Method

hasContent(record:)

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.

Default Implementations

LoggerFragment Implementations