Rename logger from 'utils.logger' to 'yolov5' (#6421)

* Gave a more explicit name to the logger

* Cleanup

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/6406/head
Jonathan Samelson 2022-01-25 16:21:06 +01:00 committed by GitHub
parent cfecd903a3
commit ed9bac8392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def set_logging(name=None, verbose=VERBOSE):
return logging.getLogger(name)
LOGGER = set_logging(__name__) # define globally (used in train.py, val.py, detect.py, etc.)
LOGGER = set_logging('yolov5') # define globally (used in train.py, val.py, detect.py, etc.)
class Profile(contextlib.ContextDecorator):