mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
Remove unused import
old-commit-hash: 585a6fe2d81b48347eaba86fd85d554b791e8b55
This commit is contained in:
@@ -43,7 +43,6 @@ class LogMessageHandler(logging.Handler):
|
||||
def add_logentries_handler(log):
|
||||
"""Function to add the logentries handler to swaglog.
|
||||
This can be used to send logs when logmessaged is not running."""
|
||||
from selfdrive.logmessaged import get_le_handler
|
||||
handler = get_le_handler()
|
||||
handler.setFormatter(SwagFormatter(log))
|
||||
log.addHandler(handler)
|
||||
|
||||
Reference in New Issue
Block a user