adds CRITICAL log level

This commit is contained in:
Mose Müller
2023-11-27 16:15:53 +01:00
parent 7b7ef0eb97
commit 9d36f99404
3 changed files with 4 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class DefaultFormatter(uvicorn.logging.ColourizedFormatter):
class SocketIOHandler(logging.Handler):
"""
Custom logging handler that emits ERROR and EXCEPTION log records to a Socket.IO
Custom logging handler that emits ERROR and CRITICAL log records to a Socket.IO
server, allowing for real-time logging in applications that use Socket.IO for
communication.
"""