Skip to content

Type Alias: LogMethod<T>

ts
type LogMethod<T> =
  | LogMethodWithMergingObject<T>
  | LogMethodWithUnknownMergingObject
  | LogMethodWithoutMergingObject
  | LogMethodWithAnyTypedMergingObject;

Represents a pino-compatible logging method used by the events in the LoggerEventCallbacks, which can have different signatures such as:

Type Parameters

Type Parameter
T extends object

See

Pino Documentation