Skip to content

Commit e592c3d

Browse files
committed
Update tracing mako template to account to use new logger level enum.
1 parent 8936426 commit e592c3d

File tree

2 files changed

+191
-191
lines changed

2 files changed

+191
-191
lines changed

scripts/templates/trcddi.cpp.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace ur_tracing_layer
5252

5353
getContext()->notify_end(${th.make_func_etor(n, tags, obj)}, "${th.make_func_name(n, tags, obj)}", &params, &result, instance);
5454

55-
if (logger.getLevel() <= logger::Level::INFO) {
55+
if (logger.getLevel() <= UR_LOGGER_LEVEL_INFO) {
5656
std::ostringstream args_str;
5757
ur::extras::printFunctionParams(args_str, ${th.make_func_etor(n, tags, obj)}, &params);
5858
logger.info(" <--- ${th.make_func_name(n, tags, obj)}({}) -> {};\n", args_str.str(), result);

0 commit comments

Comments
 (0)