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.

constants.py 312B

5 years ago
123456789101112131415161718192021
  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. }