class ApiRequestLogger extends ApiRequestLoggerBase with ServerInterceptor with NamedLogging

Server side interceptor that logs incoming and outgoing traffic.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApiRequestLogger
  2. ServerInterceptor
  3. ApiRequestLoggerBase
  4. NamedLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ApiRequestLogger(loggerFactory: NamedLoggerFactory, config: ApiLoggingConfig)

    config

    Configuration to tailor the output

Type Members

  1. class LoggingServerCall[ReqT, RespT] extends SimpleForwardingServerCall[ReqT, RespT]

    Intercepts events sent by the server.

  2. class LoggingServerCallListener[ReqT, RespT] extends SimpleForwardingServerCallListener[ReqT]

    Intercepts events sent by the client.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def cutMessage(message: Any): String
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
    Annotations
    @SuppressWarnings()
  7. def enhance(status: Status): Status
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def inferRequestTraceContext: TraceContext
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  14. def interceptCall[ReqT, RespT](call: ServerCall[ReqT, RespT], headers: Metadata, next: ServerCallHandler[ReqT, RespT]): Listener[ReqT]
    Definition Classes
    ApiRequestLogger → ServerInterceptor
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def logStatusOnClose(status: Status, trailers: Metadata, createLogMessage: (String) => String)(implicit requestTraceContext: TraceContext): Status
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  17. def logThrowable(within: => Unit)(createLogMessage: (String) => String, traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  18. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerApiRequestLoggerBaseNamedLogging
  20. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def stringOfMetadata(metadata: Metadata): String
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  26. def stringOfTrailers(trailers: Metadata): String
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def traceContextOfMessage[A](message: Any): Option[TraceContext]
    Attributes
    protected
    Definition Classes
    ApiRequestLoggerBase
    Annotations
    @SuppressWarnings()
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from ServerInterceptor

Inherited from ApiRequestLoggerBase

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped