This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import logging | |
| import timeit | |
| logger = logging.getLogger(__name__) | |
| logging.basicConfig(filename='example.log', encoding='utf-8', level=logging.INFO) | |
| def as_args(): | |
| some_str = "This is some kind of error message reasonably long" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # SETUP IN utils.py | |
| class NumParse(Enum): | |
| VAL = 1 # Valid number | |
| INV = 2 # Invalid number format | |
| NEG = 3 # Negative value | |
| ZER = 4 # Zero value | |
| EXC = 5 # Exceeds maximum value defined in config | |
| def __eq__(self, other: str): | 
OlderNewer