geotribu_cli.utils.journalizer module¶
Helper to configure logging depending on CLI options.
- geotribu_cli.utils.journalizer.configure_logger(verbosity=1, logfile=None)¶
Configure logging according to verbosity from CLI.
- Paramètres:
verbosity (int) – verbosity level
logfile (Path, optional) – file where to store log. Defaults to None.
- geotribu_cli.utils.journalizer.get_logger_filepath()¶
Retrieve log filepath within logger handlers.
- Renvoie:
path to the logfile or None if no handler has baseFilename attr.
- Type renvoyé:
Path | None
- geotribu_cli.utils.journalizer.headers()¶
Basic information to log before other message.