Overhaul logging.
This commit is contained in:
@@ -494,9 +494,11 @@ void PrintKernelCall(cpu::Export* export_entry, const Tuple& params) {
|
||||
AppendKernelCallParams(string_buffer, export_entry, params);
|
||||
string_buffer.Append(')');
|
||||
if (export_entry->tags & xe::cpu::ExportTag::kImportant) {
|
||||
xe::LogLine(xe::LogLevel::Info, 'i', string_buffer.to_string_view());
|
||||
xe::logging::AppendLogLine(xe::LogLevel::Info, 'i',
|
||||
string_buffer.to_string_view());
|
||||
} else {
|
||||
xe::LogLine(xe::LogLevel::Debug, 'd', string_buffer.to_string_view());
|
||||
xe::logging::AppendLogLine(xe::LogLevel::Debug, 'd',
|
||||
string_buffer.to_string_view());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user