Skip to content

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

Type Method

buildOptional(_:)

iOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
Handle optional fragments using an optional wrapper.
static func buildOptional<F>(_ fragment: F?) -> OptionalFragment<F> where F : LoggerFragment