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. |
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. |
String |
thriftServiceName()
Returns the fully qualified Thrift service name which is associated to the log.
|
String |
toString() |
public ThriftStructuredLog(com.linecorp.armeria.common.logging.RequestLog reqLog)
ThriftStructuredLog from RequestContext and RequestLog.
Can be used as StructuredLogBuilder.public String thriftServiceName()
public String thriftMethodName()
public ThriftCall thriftCall()
ThriftCall object which includes Thrift call information of the log.ThriftCall which is associated to the logpublic ThriftReply thriftReply()
ThriftReply object which includes Thrift reply information of the log.ThriftReply which is associated to the logpublic String toString()
toString in class com.linecorp.armeria.server.logging.structured.StructuredLog© Copyright 2015–2017 LINE Corporation. All rights reserved.