public class ThriftStructuredLog
extends com.linecorp.armeria.server.logging.structured.StructuredLog
| Constructor and Description |
|---|
ThriftStructuredLog(com.linecorp.armeria.common.logging.RequestLog reqLog)
|
| Modifier and Type | Method and Description |
|---|---|
ThriftCall |
thriftCall()
Returns the
ThriftCall object which includes Thrift call information of the log. |
java.lang.String |
thriftMethodName()
Returns the Thrift method name which was called in the context of the log.
|
ThriftReply |
thriftReply()
Returns the
ThriftReply object which includes Thrift reply information of the log. |
java.lang.String |
thriftServiceName()
Returns the fully qualified Thrift service name which is associated to the log.
|
java.lang.String |
toString() |
public ThriftStructuredLog(com.linecorp.armeria.common.logging.RequestLog reqLog)
ThriftStructuredLog from RequestContext and RequestLog.
Can be used as StructuredLogBuilder.@Nullable public java.lang.String thriftServiceName()
@Nullable public java.lang.String thriftMethodName()
@Nullable public ThriftCall thriftCall()
ThriftCall object which includes Thrift call information of the log.ThriftCall which is associated to the log@Nullable public ThriftReply thriftReply()
ThriftReply object which includes Thrift reply information of the log.ThriftReply which is associated to the logpublic java.lang.String toString()
toString in class com.linecorp.armeria.server.logging.structured.StructuredLog© Copyright 2015–2018 LINE Corporation. All rights reserved.