Skip to content

Commit

Permalink
Added color for logging.CRITICAL = 5 (Magenta).
Browse files Browse the repository at this point in the history
  • Loading branch information
javabrett committed Apr 24, 2019
1 parent c447875 commit 5821970
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tornado/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class LogFormatter(logging.Formatter):
logging.INFO: 2, # Green
logging.WARNING: 3, # Yellow
logging.ERROR: 1, # Red
logging.CRITICAL: 5, # Magenta
}

def __init__(
Expand Down

0 comments on commit 5821970

Please sign in to comment.