"""
    Constants for logger.
"""

CRITICAL = 50
ERROR = 40
WARNING = 30
INFO = 20
DEBUG = 10
DEFAULT = 0

LEVEL_NAMES = {
    CRITICAL:   'CRITICAL',
    ERROR:      'ERROR',
    WARNING:    'WARNING',
    INFO:       'INFO',
    DEBUG:      'DEBUG',
    DEFAULT:    'DEFAULT',
}
