Class RequestId

java.lang.Object
csw.logging.models.RequestId
All Implemented Interfaces:
AnyId, Serializable, scala.Equals, scala.Product

public class RequestId extends Object implements AnyId, scala.Product, Serializable
The logging id of a specific request

param: trackingId the global unique id of the request optional: A new unique id will be created if this is not specified param: spanId a sub-id used when a a service is called multiple times for the same global request optional: defaults to 0 param: level a field for controlling per request log levels optional: defaults to no per request control

See Also:
  • Constructor Details

    • RequestId

      public RequestId(String trackingId, String spanId, scala.Option<Level> level)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • trackingId

      public String trackingId()
    • spanId

      public String spanId()
    • level

      public scala.Option<Level> level()