mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Update the default log format
This commit is contained in:
parent
98357e71db
commit
8e2d8ec6f5
1 changed files with 3 additions and 2 deletions
|
|
@ -37,9 +37,10 @@ _VERBOSITY_TO_LOG_LEVEL = {
|
|||
2: logging.DEBUG,
|
||||
}
|
||||
|
||||
LOG_FORMAT = '[flake8] %(asctime)s %(levelname)s %(message)s'
|
||||
|
||||
def configure_logging(verbosity, filename=None,
|
||||
logformat='%(asctime)s %(levelname)s %(message)s'):
|
||||
|
||||
def configure_logging(verbosity, filename=None, logformat=LOG_FORMAT):
|
||||
"""Configure logging for flake8.
|
||||
|
||||
:param int verbosity:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue