class Slf4jMdcTraceId extends LogCorrelation
SLF4J MDC log correlation for trace ids.
- Alphabetic
- By Inheritance
- Slf4jMdcTraceId
- LogCorrelation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Slf4jMdcTraceId(config: Config, logging: LoggingProvider)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allScopes(): Boolean
Whether to check and insert correlation identifiers for all context scopes.
Whether to check and insert correlation identifiers for all context scopes.
Otherwise the default is to only insert at entry points, such as incoming HTTP requests.
- returns
whether to check log correlation for all context scopes
- Definition Classes
- Slf4jMdcTraceId → LogCorrelation
- Annotations
- @Override()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
key(): String
MDC key used for this log correlation.
MDC key used for this log correlation.
- returns
MDC key for this correlation
- Definition Classes
- Slf4jMdcTraceId → LogCorrelation
- Annotations
- @Override()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalize(): Boolean
Should the key name for this correlation identifier be normalized in MDC?
Should the key name for this correlation identifier be normalized in MDC?
For example, if MDC contains the key "correlation-id", but the
key()
is configured as "Correlation-ID", enabling this setting will make Cinnamon scan the MDC keys and normalize incorrect casing when it occurs.- returns
true if the correlation identifier key name should be normalised
- Definition Classes
- Slf4jMdcTraceId → LogCorrelation
- Annotations
- @Override()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
value(): String
Access or generate the correlation identifier for the current MDC scope.
Access or generate the correlation identifier for the current MDC scope.
- returns
MDC value for this correlation
- Definition Classes
- Slf4jMdcTraceId → LogCorrelation
- Annotations
- @Override()
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.