Mercurial > vim-crosoft
view scripts/logutil.py @ 15:cfcac4ed7d21 default tip
Improve loading of solution files
- New argument to force a rebuild of the cache
- Gracefully handle missing projects in a solution
- Handle more different xml namespaces
- Support more edge cases
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 29 Aug 2023 12:59:54 -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)