修复错将debug日志当作error日志的问题
This commit is contained in:
@@ -105,7 +105,7 @@ fn log_debug(msg: &cxx::CxxString) {
|
|||||||
let msg = cxx_string_to_string(msg);
|
let msg = cxx_string_to_string(msg);
|
||||||
let lock = LOGGER_SENDER.get().unwrap();
|
let lock = LOGGER_SENDER.get().unwrap();
|
||||||
let _ = lock.send(Starpoles {
|
let _ = lock.send(Starpoles {
|
||||||
r#type: MessageType::Error.into(),
|
r#type: MessageType::Debug.into(),
|
||||||
message: msg,
|
message: msg,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user