You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
374 B
15 lines
374 B
"""
|
|
|
|
"""
|
|
import logging
|
|
|
|
converter_logger = logging.getLogger("pydub.converter")
|
|
|
|
def log_conversion(conversion_command):
|
|
converter_logger.debug("subprocess.call(%s)", repr(conversion_command))
|
|
|
|
def log_subprocess_output(output):
|
|
if output:
|
|
for line in output.rstrip().splitlines():
|
|
converter_logger.debug('subprocess output: %s', line.rstrip())
|