mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-08-03 01:17:34 -07:00
Reduce cpp logging overhead
This commit is contained in:
@@ -25,7 +25,7 @@ pub mod ffi {
|
||||
}
|
||||
|
||||
extern "Rust" {
|
||||
fn log_with_rs(level: LogLevel, msg: &str);
|
||||
fn log_with_rs(level: LogLevel, msg: &[u8]);
|
||||
fn exit_on_error(b: bool);
|
||||
fn set_log_level_state(level: LogLevel, enabled: bool);
|
||||
fn cmdline_logging();
|
||||
|
||||
Reference in New Issue
Block a user