Define LOG_MDC¶
Defined in File Log.h
Define Documentation¶
-
LOG_MDC(key, value)¶ Places a KEY/VALUE pair in the Mapped Diagnostic Context (MDC) for the current thread. The VALUE may then be included in log messages by using the following the
Xconversion character within a pattern layout asX{KEY}.- Parameters
key: Unique key.value: String value.