Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogInterceptor<T>

Type parameters

Hierarchy

  • LogInterceptor

Implements

  • NestInterceptor<T>

Index

Properties

Methods

Properties

Private log

Methods

intercept

  • intercept(context: ExecutionContext, next: CallHandler): Observable<T>
  • Logs metadata about every incoming request and outgoing response. This interceptor will be applied globally in the LogModule, so you should not need to manually include it anywhere.

    Parameters

    • context: ExecutionContext
    • next: CallHandler

    Returns Observable<T>

Generated using TypeDoc