Structure
AndFragment
Combine the current fragment with another, which will be written after the current fragment finishes.
struct AndFragment<T, U> where T : LoggerFragment, U : LoggerFragment
Topics
Initializers
Instance Properties
Instance Methods
func hasContent(record: inout LogRecord) -> BoolIndicates whether the fragment will write anything tooutputwhenwriteis called. This is used to determine whether writing a separator should be skipped.func write(inout LogRecord, to: inout FragmentOutput)Add this fragment’s output to the console text.
Relationships
Conforms To
LoggerFragmentSwift.SendableSwift.SendableMetatype