Class RequestLoggingContext
- java.lang.Object
-
- org.curioswitch.common.server.framework.logging.RequestLoggingContext
-
public final class RequestLoggingContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RequestLoggingContext(com.linecorp.armeria.server.ServiceRequestContext ctx, java.util.Optional<brave.Tracing> tracing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToLogs(java.lang.String key, java.lang.String value)
void
addToLogsAndSpan(java.lang.String key, java.lang.String value)
static void
put(com.linecorp.armeria.common.RequestContext ctx, java.lang.String key, java.lang.String value)
-
-
-
Method Detail
-
put
public static void put(com.linecorp.armeria.common.RequestContext ctx, java.lang.String key, java.lang.String value)
-
addToLogs
public void addToLogs(java.lang.String key, java.lang.String value)
-
addToLogsAndSpan
public void addToLogsAndSpan(java.lang.String key, java.lang.String value)
-
-