Skip to content

Interface: LogMethodWithUnknownMergingObject()

An interface represending one of the possible signatures of a logging method in the LogMethod union

ts
LogMethodWithUnknownMergingObject(
   obj: unknown,
   message?: string, ...
   values?: any[]): EventCallbackResult;

An interface represending one of the possible signatures of a logging method in the LogMethod union

Parameters

ParameterTypeDescription
objunknownThe object to merge with the message. Pino Docs
message?stringThe 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

Returns

EventCallbackResult