Mercurial > vim-crosoft
view scripts/logutil.py @ 14:0aa61944e518
Add utility script to print the contents of a solution's cache.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 29 Aug 2023 12:52:12 -0700 |
parents | 5d2c0db51914 |
children |
line wrap: on
line source
import logging def setup_logging(verbose): loglevel = logging.INFO if verbose: loglevel = logging.DEBUG logging.basicConfig(level=loglevel)