-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: add an option for a custom formatter in logging setup (#10)
* feat(logging): setup support user-given formatters Allow the user to provide a custom formatter class to replace the default `logging.Formatter`. This should allow more flexibility to customize the logs output. The `format` argument is kept for backward compatibility. * test(logging): ensure setup's formatter is handled Test that the user can set a custom formatter in `clapper.logging.setup`
- Loading branch information
1 parent
d17d303
commit 92c483e
Showing
2 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters