I’m interested in converting cernan to slog-rs from fern but have hit a couple of sticking points. You can see my in-progress work here: introduce_slog. There are two things that I haven’t managed to replicate:
I’d really like to preserve the existing information I’m kicking out: module path, line origin, UTC timestamp, etc. The exact format doesn’t matter, of course, just so long as it’s there. It’s not clear to me if I can keep the module path without a whole lot of manual fiddling every time I make a new sub-logger.
The slog documentation does have an example on how to fiddle with log levels at runtime. I guess what I’m after, since I only want to set it once at startup, is a less manual way to get that kind of thing.