Interface: LogMethodWithMergingObject()<T>
An interface represending one of the possible signatures of a logging method in the LogMethod union
Type Parameters
| Type Parameter | Description |
|---|---|
T extends object | The type of the merging object |
ts
LogMethodWithMergingObject(
obj: T,
message?: string, ...
values?: any[]): EventCallbackResult;An interface represending one of the possible signatures of a logging method in the LogMethod union
Parameters
| Parameter | Type | Description |
|---|---|---|
obj | T | The object to merge with the message. Pino Docs |
message? | string | The message to log. Pino Docs |
...values? | any[] | Values which should be interpolated according to any supplied printf-style placehoders (%s, %d, %o, %O, %j) to form the final output message. Pino Docs |