mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Always send to stdout
This commit is contained in:
parent
2c7ddb6234
commit
f1f1af9c67
1 changed files with 1 additions and 4 deletions
|
@ -79,10 +79,7 @@ def __init__(self, logger, *args, **kwargs):
|
|||
def emit(self, record):
|
||||
try:
|
||||
msg = self.format(record)
|
||||
if record.levelno >= logging.ERROR:
|
||||
self._logger.error(msg)
|
||||
else:
|
||||
self._logger.stdout(msg)
|
||||
self._logger.stdout(msg)
|
||||
|
||||
except Exception:
|
||||
self.handleError(record)
|
||||
|
|
Loading…
Reference in a new issue