Closed mathiasmaerker closed 1 month ago
Hey @mathiasmaerker, thank you for raising this issue.
I already implemented this as part of this commit, it is available since @effect-aws/powertools-logger@1.3.0
and personally use with powertools v2.7.0
Hmm, are you sure? I am on 1.3.0
, deleted node_modules and reinstalled via pnpm i
and when I check my node_modules I see:
hey @mathiasmaerker
it is becasue the @aws-lambda-powertools/logger
is peer dependency of @effect-aws/powertools-logger
, what you need is include the @aws-lambda-powertools/logger@^2
in your package.json as dependency.
Apparently pnpm installs the peer dependency for you if you do not include it, and apparently it installs the closest matching one which is 1.9.0 as stated in dev dependency of the package
I should mention it in readme though, good point
@mathiasmaerker looks like you were right. it supported v2, but till version 2.7.0, now it is fixed
Hey, I just got the message tat powertools v1 is deprecated. Do you have plans (and maybe need support) to implement v2?