mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
added json logger
This commit is contained in:
@@ -4,6 +4,8 @@ import os
|
||||
import argparse
|
||||
from rich_argparse import RichHelpFormatter, HelpPreviewAction
|
||||
|
||||
from modules.logger import logger
|
||||
|
||||
if __package__ is None:
|
||||
PACKAGE = ""
|
||||
else:
|
||||
@@ -129,4 +131,5 @@ def parse_arguments(version: str) -> Args:
|
||||
use_fancy_folders=parsed_args.use_fancy_folders,
|
||||
web_root_url=parsed_args.web_root_url,
|
||||
)
|
||||
logger.debug("parsed arguments", extra={"args": _args.to_dict()})
|
||||
return _args
|
||||
|
||||
Reference in New Issue
Block a user