Is there no more .logger function on the builder in 3.0? Is there an alternative or should it be done manually somehow? I didn’t see this being mentioned in the migration logs, a bit lost here.
m
mbonnin
12/15/2021, 8:30 AM
That's correct. The rationale is that logs are not very structured and you can use interceptors to get the same information in a more structured way
We'll add that to the migration guide
If you're looking at logging the cache misses (this was one of the main use cases), you can register an interceptor that logs
CacheMissException
s
Stylianos Gakis
12/15/2021, 8:49 AM
With this context it sounds reasonable, and I understand the rationale. Since this was such a deliberate decision, imo it’s super important to be on the migration guide, for sure.
Thanks for the clarification!