fix(hpu): modernize logger interface

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2025-05-30 09:02:50 -07:00
committed by B. Roux
parent 8024753be0
commit c103f0380c

View File

@@ -71,7 +71,7 @@ class Trace:
del id_map[event.sync_id]
if len(id_map):
logging.warn("The trace contains incomplete IOPs")
logging.warning("The trace contains incomplete IOPs")
def to_analysis(self) -> Iterator['analysis.Event']:
return analysis.Trace(x.to_analysis() for x in self)