Logging - vcspull.log¶
Log utilities for formatting CLI output in vcspull.
This module containers special formatters for processing the additional context
information from libvcs.base.RepoLoggingAdapter.
Colorized formatters for generic logging inside the application is also provided.
-
vcspull.log.get_cli_logger_names(include_self=True)¶
Return logger names under
vcspull.cli.
-
vcspull.log.setup_logger(log=None, level='INFO')¶
Configure the vcspull logging hierarchy once and reuse it everywhere.
-
class vcspull.log.DebugLogFormatter¶
Bases:
LogFormatterProvides greater technical details than standard log Formatter.
-
class vcspull.log.RepoLogFormatter¶
Bases:
LogFormatterLog message for VCS repository.