You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
312 B

  1. DEBUG = 10
  2. INFO = 20
  3. SUCCESS = 25
  4. WARNING = 30
  5. ERROR = 40
  6. DEFAULT_TAGS = {
  7. DEBUG: 'debug',
  8. INFO: 'info',
  9. SUCCESS: 'success',
  10. WARNING: 'warning',
  11. ERROR: 'error',
  12. }
  13. DEFAULT_LEVELS = {
  14. 'DEBUG': DEBUG,
  15. 'INFO': INFO,
  16. 'SUCCESS': SUCCESS,
  17. 'WARNING': WARNING,
  18. 'ERROR': ERROR,
  19. }