color tags can be given to every logging functions like pywikibot.info():
msg can contain special sequences to create colored output. These consist of the color name in angle bracket, e. g. <<lightpurple>>. <<default>> resets the color.
The <<default>> tag should be appended to each line if not already given but unfortunately it is appended after the line feed. This leads to strange colored lines like shown below:
