add modname to file log
This commit is contained in:
parent
f6c4c01e95
commit
0421e498e8
|
@ -3,7 +3,7 @@ macro_rules! switch_log_printf {
|
|||
($level:expr, $msg:expr) => {
|
||||
switch_log_printf(
|
||||
switch_text_channel_t_SWITCH_CHANNEL_ID_LOG,
|
||||
cstring(file!()).as_ptr(),
|
||||
cstring(format!("{modname}_{}",file!())).as_ptr(),
|
||||
cstring(function_name!()).as_ptr(),
|
||||
line!() as i32,
|
||||
std::ptr::null(),
|
||||
|
|
Loading…
Reference in New Issue