Class DefaultResourceDiagnostics.Builder
java.lang.Object
com.inductiveautomation.ignition.gateway.config.DefaultResourceDiagnostics.Builder
- Enclosing class:
DefaultResourceDiagnostics
Collects what a resource type or one extension point contributes to a digest.
-
Method Summary
Modifier and TypeMethodDescriptionadditionalLogger(String loggerName) A logger queried alongside the MDC-identified events, together with every logger beneath it.analysisDigestSection(String heading, Function<GatewayContext, @Nullable String> body) A section shown to the analysis flow only.analysisFraming(@Nullable String analysisFraming) Guidance for the analysis flow only.analysisTools(ToolBundle bundle) A tool bundle offered to the analysis agent.build()digestSection(String heading, Function<GatewayContext, @Nullable String> body) A section shown to both flows.Guidance for both digest flows.logIdentityMdcKey(@Nullable String logIdentityMdcKey) The MDC key naming an instance.
-
Method Details
-
framing
Guidance for both digest flows. Call once.- See Also:
-
analysisFraming
Guidance for the analysis flow only. Call once.- See Also:
-
digestSection
public DefaultResourceDiagnostics.Builder digestSection(String heading, Function<GatewayContext, @Nullable String> body) A section shown to both flows. May be called repeatedly; sections keep declaration order.- Parameters:
body- renders the section at request time; null or blank omits it.
-
analysisDigestSection
public DefaultResourceDiagnostics.Builder analysisDigestSection(String heading, Function<GatewayContext, @Nullable String> body) A section shown to the analysis flow only. May be called repeatedly. -
analysisTools
A tool bundle offered to the analysis agent. May be called repeatedly.- See Also:
-
additionalLogger
A logger queried alongside the MDC-identified events, together with every logger beneath it. May be called repeatedly.Declaring
a.bcoversa.b.cbut not a sibling nameda.bc: the hierarchy separator is a dot, so this emits the name andname.*rather than a bare prefix. Sub-loggers appear over time —LoggerEx.createSubLoggerappends to its parent's name — and a declaration matching only the exact name would go quietly stale as they do.A name that is not a dotted hierarchy needs its own wildcard. A driver logging under
drivers.Foo[device-1]is not beneathdrivers.Foo, so declaredrivers.Foo*for that.- See Also:
-
logIdentityMdcKey
The MDC key naming an instance.- See Also:
-
build
-