NickSloan
Blog Work with me
December 19, 2022

@ezyang Maybe look at SQLAlchemy for inspiration?

@ezyang Maybe look at SQLAlchemy for inspiration?
← @ezyang I think the right way is to set up a named logger (or more, if you need more to provide more options than just levels) with either no handler, or a simple stdout handler by default, and then advertise how users can turn logging on and off in their applications in your docs.

©️ Copyright 2004–2026 Nick Sloan. All rights reserved.

GitHubMastodonBlueskyLinkedIn