public final class TracingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
initTracingSupport(TracingConfig type,
TracingLogger.Level appThreshold,
ContainerRequest containerRequest)
According to configuration/request header it initialize
TracingLogger and put it to the request properties. |
static void |
logStart(ContainerRequest request)
Log tracing messages START events.
|
public static void initTracingSupport(TracingConfig type, TracingLogger.Level appThreshold, ContainerRequest containerRequest)
TracingLogger
and put it to the request properties.type
- application-wide tracing configuration type.appThreshold
- application-wide tracing level threshold.containerRequest
- request instance to get runtime properties to store TracingLogger
instance to
if tracing support is enabled for the request.public static void logStart(ContainerRequest request)
request
- container request instance to get runtime properties
to check if tracing support is enabled for the request.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.