nestjs-sentry icon indicating copy to clipboard operation
nestjs-sentry copied to clipboard

Sentry drop LogLevel. Are There any LogLevel Alternatives?

Open elmergg opened this issue 3 years ago • 5 comments

From what I've seen here, the LogLevel is being dropped by Sentry. Are there any alternatives for this one. Thx.

https://github.com/getsentry/sentry-javascript/pull/4317

elmergg avatar Jan 24 '22 09:01 elmergg

It is also still present on the README, so everyone who uses nestjs-sentry for the first time will be faced with an error

sediatis avatar Jan 26 '22 16:01 sediatis

oh just realize, we only need to remove log level since it is never used by sentry anyway. @sediatis

elmergg avatar Jan 27 '22 03:01 elmergg

Hey, I brought up this issue in the Sentry project and they directed me here -- looks like an alternative is needed and folks here aware of it. https://github.com/getsentry/sentry-javascript/issues/4465

jacoblb64 avatar Jan 28 '22 19:01 jacoblb64

so will it still work without LogLevel?

tylerjusfly avatar Feb 03 '22 10:02 tylerjusfly

It's hacky, but for now you can do something like: Severity.Error as LogLevel

ctsstc avatar Jun 01 '22 22:06 ctsstc