From 629dc2fba1fe153298e3fb12df07eec7e6a37a5c Mon Sep 17 00:00:00 2001 From: TakWolf Date: Fri, 8 Nov 2024 11:41:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/cli.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tools/cli.py b/tools/cli.py index 8e3a7eb..0fb2669 100644 --- a/tools/cli.py +++ b/tools/cli.py @@ -43,13 +43,11 @@ def main( attachments = sorted(attachments, key=lambda x: configs.attachments.index(x)) all_font_sizes = font_sizes == configs.font_sizes - print() - print(f'cleanup = {cleanup}') - print(f'font_sizes = {font_sizes}') - print(f'width_modes = {width_modes}') - print(f'font_formats = {font_formats}') - print(f'attachments = {attachments}') - print() + logger.info('cleanup = {}', cleanup) + logger.info('font_sizes = {}', font_sizes) + logger.info('width_modes = {}', width_modes) + logger.info('font_formats = {}', font_formats) + logger.info('attachments = {}', attachments) if cleanup and path_define.build_dir.exists(): shutil.rmtree(path_define.build_dir)