Add some basic logging (#209)

Add some basic logging when using common.git or common.http.
This commit is contained in:
Marc Wrobel
2023-12-09 23:19:18 +01:00
committed by GitHub
parent 192ceb2da3
commit d80504aea8
3 changed files with 19 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
import json
import frontmatter
import json
import logging
from glob import glob
from os import path
logging.basicConfig(format=logging.BASIC_FORMAT, level=logging.INFO)
# Handle versions having at least 2 digits (ex. 1.2) and at most 4 digits (ex. 1.2.3.4), with an optional leading "v".
# Major version must be >= 1.