I'm not satisfied with the standard boolean representation, which is "True" or "False". I'd like to see "SUCCESS" and "FAIL" everywhere in my logs. Can I overload the string conversion for boolean variables for my module somehow?
id = 4608
result = False
log(f"Operation {id} status : {result}")
Operation 4608 status : FAIL