Class ThriftStructuredLog


  • public class ThriftStructuredLog
    extends com.linecorp.armeria.server.logging.structured.StructuredLog
    A representation and constructor of a service log which holds Apache Thrift based RPC invocation oriented information.
    • Constructor Detail

      • ThriftStructuredLog

        public ThriftStructuredLog​(com.linecorp.armeria.common.logging.RequestLog reqLog)
        Constructs ThriftStructuredLog from RequestContext and RequestLog. Can be used as StructuredLogBuilder.
    • Method Detail

      • thriftServiceName

        @Nullable
        public String thriftServiceName()
        Returns the fully qualified Thrift service name which is associated to the log.
        Returns:
        fully qualified Thrift service name
      • thriftMethodName

        @Nullable
        public String thriftMethodName()
        Returns the Thrift method name which was called in the context of the log.
        Returns:
        Thrift method name
      • thriftCall

        @Nullable
        public ThriftCall thriftCall()
        Returns the ThriftCall object which includes Thrift call information of the log.
        Returns:
        an instance of ThriftCall which is associated to the log
      • toString

        public String toString()
        Overrides:
        toString in class com.linecorp.armeria.server.logging.structured.StructuredLog