Add colours to logging

Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
Andras Schmelczer 2022-04-10 09:41:04 +02:00
parent 69d5c4f1f6
commit d488627376
16 changed files with 84 additions and 268 deletions

View file

@ -60,11 +60,13 @@
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:good_ai:Defaults: configured ✅\n",
"INFO:open_s3:Fetching online versions of data\n",
"INFO:open_s3:Found versions: [0, 1]\n",
"INFO:open_s3:Lastest version of data-1 is 1\n",
"INFO:open_s3:File data-1 found in cache\n"
"\u001b[38;5;39m2022-04-10 09:40:33,153 | INFO | Running in production mode ✅\u001b[0m\n",
"\u001b[38;5;226m2022-04-10 09:40:33,156 | WARNING | The selected persistence driver (TinyDbDriver) is not threadsafe\u001b[0m\n",
"\u001b[38;5;39m2022-04-10 09:40:33,157 | INFO | Defaults: configured ✅\u001b[0m\n",
"\u001b[38;5;39m2022-04-10 09:40:33,348 | INFO | Fetching online versions of data\u001b[0m\n",
"\u001b[38;5;39m2022-04-10 09:40:33,743 | INFO | Found versions: [0, 1]\u001b[0m\n",
"\u001b[38;5;39m2022-04-10 09:40:33,744 | INFO | Lastest version of data-1 is 1\u001b[0m\n",
"\u001b[38;5;39m2022-04-10 09:40:33,745 | INFO | File data-1 found in cache\u001b[0m\n"
]
}
],