Add SILENT to get_level_by_name.

This commit is contained in:
voussoir 2021-08-23 22:41:07 -07:00
parent d3a1578cca
commit e2f4357b15
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -96,6 +96,7 @@ def get_level_by_name(name):
name = name.upper() name = name.upper()
levels = { levels = {
'SILENT': SILENT,
'CRITICAL': CRITICAL, 'CRITICAL': CRITICAL,
'FATAL': FATAL, 'FATAL': FATAL,
'ERROR': ERROR, 'ERROR': ERROR,