https://kedro.org/ logo
#random
Title
# random
n

Nok Lam Chan

02/27/2024, 11:05 AM
In [1]: import logging
In [2]: logging.DEBUG
Out[2]: 10
TIL: I just learn that logging LEVEL are actually integers 👀
Copy code
CRITICAL = 50
FATAL = CRITICAL
ERROR = 40
WARNING = 30
WARN = WARNING
INFO = 20
DEBUG = 10
NOTSET = 0
😄 1
j

Juan Luis

02/27/2024, 11:20 AM
which means that you can define your own
Copy code
MILD_CONCERNS = 26
NUCLEAR_MELTDOWN = 99
BORING = 3
😂 3
This is exactly how
pip
works :) > # custom log level for
--verbose
output > # between DEBUG and INFO > VERBOSE = 15
d

datajoely

02/27/2024, 11:54 AM
MEH = 1
😂 3