Skip to content

Commit

Permalink
Fix unknown log file and module (#623)
Browse files Browse the repository at this point in the history
* fix unknown log file and module

Signed-off-by: Connor1996 <[email protected]>
  • Loading branch information
Connor1996 authored Jul 19, 2023
1 parent 455bc4b commit e61834c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/log_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ extern "C" fn delegate(c_args: *mut gpr_log_func_args) {
&Record::builder()
.args(format_args!("{msg}"))
.level(level)
.file(file_str.into())
.file_static(file_str.into())
.line(line.into())
.module_path(module_path!().into())
.module_path_static(module_path!().into())
.build(),
);
}
Expand Down

0 comments on commit e61834c

Please sign in to comment.