chore: Allow the user to config the logger
This commit is contained in:
parent
bdd0286bd0
commit
18bb36e496
1 changed files with 0 additions and 1 deletions
|
@ -64,7 +64,6 @@ class HFHubRequest:
|
||||||
|
|
||||||
# Set the logger
|
# Set the logger
|
||||||
if logger is None:
|
if logger is None:
|
||||||
logging.basicConfig(level=logging.DEBUG)
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue