Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samjacobson
Copy link

Provide the ability to do this:

@begin.logging(format='%(asctime)s %(levelname)s %(message)s', level='DEBUG')

The old @begin.logging still works as before.

@samjacobson
Copy link
Author

I've used the same keyword names as logging.basicConfig. The alternative would be to use the same names as the generated command line arguments (e.g. logfmt instead of format).

I can change it to those if preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant