Package csw.logging.models
Class RequestId
- java.lang.Object
-
- csw.logging.models.RequestId
-
- All Implemented Interfaces:
AnyId
,java.io.Serializable
,scala.Equals
,scala.Product
public class RequestId extends java.lang.Object implements AnyId, scala.Product, java.io.Serializable
The logging id of a specific requestparam: 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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2, T3 v3)
scala.Option<Level>
level()
java.lang.String
spanId()
static java.lang.String
toString()
java.lang.String
trackingId()
-
-
-
Constructor Detail
-
RequestId
public RequestId(java.lang.String trackingId, java.lang.String spanId, scala.Option<Level> level)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3)
-
toString
public static java.lang.String toString()
-
trackingId
public java.lang.String trackingId()
-
spanId
public java.lang.String spanId()
-
level
public scala.Option<Level> level()
-
-