public final class TracingUtils extends Object
|Modifier and Type||Method and Description|
According to configuration/request header it initialize
Log tracing messages START events.
public static void initTracingSupport(TracingConfig type, TracingLogger.Level appThreshold, ContainerRequest containerRequest)
TracingLoggerand 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
TracingLoggerinstance 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.