mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 12:39:49 +00:00
Better logging system
Use C++ magic to strip out debug logs at compile time
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include <logging.hpp>
|
||||
#include <resetprop.hpp>
|
||||
#include <utils.hpp>
|
||||
#include <flags.h>
|
||||
|
||||
#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
|
||||
#include <_system_properties.h>
|
||||
@@ -22,7 +21,7 @@ static int (*system_property_set)(const char*, const char*);
|
||||
|
||||
[[noreturn]] static void usage(char* arg0) {
|
||||
fprintf(stderr,
|
||||
NAME_WITH_VER(resetprop) R"EOF(" - System Props Modification Tool
|
||||
R"EOF("resetprop - System Props Modification Tool
|
||||
|
||||
Usage: %s [flags] [options...]
|
||||
|
||||
|
Reference in New Issue
Block a user