Follow

RT @raymondh
tip: The Formatter class in the logging module supports a "style" parameter.

Instead of the default %(vars)s style, you can specify either the {var} or $var style formatting supported by str.format() and string.Template.

docs.python.org/3/howto/loggin

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.