chore: Allow the user to config the logger
This commit is contained in:
parent
bdd0286bd0
commit
18bb36e496
|
|
@ -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…
Reference in New Issue