From fc1bf22eda9d0a2ef7cdb3a10bb14f58d607773e Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Thu, 4 Feb 2021 22:58:15 +0800 Subject: [PATCH] [core] Align lines when printing module scope list (#68) * Without this commit, the lines are printed like this: 02-03 21:00:20.488 987 987 I LSPosed : scope of com.mhook.dialog.beta is: 02-03 21:00:20.488 987 987 I LSPosed : com.bug.zqq 02-03 21:00:20.488 987 987 I LSPosed : com.tencent.mobileqq 02-03 21:00:20.488 987 987 I LSPosed : com.heytap.themestore 02-03 21:00:20.488 987 987 I LSPosed : com.mhook.dialog.beta --- core/src/main/cpp/main/src/config_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/cpp/main/src/config_manager.cpp b/core/src/main/cpp/main/src/config_manager.cpp index 7a6d8b3b..fa6db3e5 100644 --- a/core/src/main/cpp/main/src/config_manager.cpp +++ b/core/src/main/cpp/main/src/config_manager.cpp @@ -194,7 +194,7 @@ namespace lspd { scope.emplace(std::move(app_pkg_name)); } if (IsInstaller(module_pkg_name)) scope.erase("android"); - LOGI("scope of %s is:\n%s", module_pkg_name.c_str(), ([&scope = scope]() { + LOGI("scope of %s is:\n %s", module_pkg_name.c_str(), ([&scope = scope]() { std::ostringstream join; std::copy(scope.begin(), scope.end(), std::ostream_iterator(join, "\n "));