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 SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static Rapply(T1 v1, T2 v2, T3 v3)scala.Option<Level>level()java.lang.StringspanId()static java.lang.StringtoString()java.lang.StringtrackingId()
 
- 
- 
- 
Constructor Detail- 
RequestIdpublic RequestId(java.lang.String trackingId, java.lang.String spanId, scala.Option<Level> level)
 
- 
 - 
Method Detail- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3)
 - 
toStringpublic static java.lang.String toString() 
 - 
trackingIdpublic java.lang.String trackingId() 
 - 
spanIdpublic java.lang.String spanId() 
 - 
levelpublic scala.Option<Level> level() 
 
- 
 
-