plugin_framework, change func log to plugin_log

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-25 21:44:40 +08:00
parent 3d9afbb12a
commit c009f40152
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ fn is_level(level: *const c_char, level_bytes: &[u8]) -> bool {
}
#[no_mangle]
pub(super) extern "C" fn log(level: *const c_char, msg: *const c_char) {
pub(super) extern "C" fn plugin_log(level: *const c_char, msg: *const c_char) {
if level.is_null() || msg.is_null() {
return;
}