D
Deno

help

Logger names and prefixes

Aabi6/13/2023
Is there any obvious way on how to configure std/log so that loggers named my-prefix/foo/bar and my-prefix/hello/world attach to the same handlers automatically? In other words, can I configure logger handlers based on logger name prefix? I don't think it is possible. Could anyone recommend me a different logger module? I kind of need this functionality.

Looking for more? Join the community!