lambda-api icon indicating copy to clipboard operation
lambda-api copied to clipboard

TS: Logger type does not support Additional Info

Open jaimalchohan opened this issue 3 years ago • 2 comments
trafficstars

The LoggerFunction doesn't allow a additional info to be passed in

LoggerFunction: https://github.com/jeremydaly/lambda-api/blob/main/index.d.ts#L62 Additional info in README: https://github.com/jeremydaly/lambda-api#adding-additional-detail

This means that in my typescript project, I can't pass a string or object that has additional info to be logged. I don't know enough about TS to suggest a fix, so any pointers would be superb.

jaimalchohan avatar Jan 25 '22 22:01 jaimalchohan

#175 and #198 both attempt to fix this issue

jaimalchohan avatar Jan 26 '22 09:01 jaimalchohan

@jeremydaly can we get one of these PRs merged?

smashercosmo avatar May 01 '22 15:05 smashercosmo

Hey, I've merged one of the PRs that resolves this, will release the change soon.

naorpeled avatar Jan 01 '23 22:01 naorpeled