EXTENSION
WorkflowLogging.Config¶
extension WorkflowLogging.Config
Properties¶
debug¶
public static let debug: Self = .init(renderLoggingMode: .allNodes, logLifetimes: true, logActions: true)
Logging config that will output the most information. Will also have the most noticeable effect on performance.
rootRendersAndActions¶
public static let rootRendersAndActions: Self = .init(renderLoggingMode: .rootsOnly, logLifetimes: false, logActions: true)
Logging config that will record render timings for root nodes as well as action events. This provides a reasonable performance tradeoff if you’re interested in the runtime’s behavior but don’t wan to pay the price of logging everything.