I've opened a proposal for to support configuration from plain objects, making it possible to load configs from JSON/YAML/TOML files.

The idea is similar to Python's logging.config.dictConfig()—you'd be able to configure sinks, formatters, and loggers declaratively, making it easier to manage different configs for dev/staging/prod without touching code.

Would love to hear your thoughts, especially if you've worked with similar patterns in other ecosystems.

https://github.com/dahlia/logtape/issues/117

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hollo.social/@hongminhee/019b59d7-33cf-72dc-a83a-95a415215f34 on your instance and quote it. (Note that quoting is not supported in Mastodon.)