From a4e9bc814029bb79d3ae1df43e6b17d2b5de48c1 Mon Sep 17 00:00:00 2001 From: Yimura Date: Tue, 25 May 2021 12:59:02 +0200 Subject: [PATCH] feat(Log): Changed log level of hooks and patterns --- BigBaseV2/src/detour_hook.cpp | 2 +- BigBaseV2/src/memory/pattern_batch.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/detour_hook.cpp b/BigBaseV2/src/detour_hook.cpp index 50592ed9..bfa038b5 100644 --- a/BigBaseV2/src/detour_hook.cpp +++ b/BigBaseV2/src/detour_hook.cpp @@ -37,7 +37,7 @@ namespace big { if (auto status = MH_EnableHook(m_target); status == MH_OK) { - LOG(INFO_TO_FILE) << "Enabled hook '" << m_name << "'."; + LOG(INFO) << "Enabled hook '" << m_name << "'."; } else { diff --git a/BigBaseV2/src/memory/pattern_batch.cpp b/BigBaseV2/src/memory/pattern_batch.cpp index 44e35847..de2146e1 100644 --- a/BigBaseV2/src/memory/pattern_batch.cpp +++ b/BigBaseV2/src/memory/pattern_batch.cpp @@ -20,7 +20,7 @@ namespace memory if (entry.m_callback) { std::invoke(std::move(entry.m_callback), result); - LOG(big::INFO_TO_FILE) << "Found '" << entry.m_name << "' GTA5.exe+" << HEX_TO_UPPER(result.as() - region.begin().as()); + LOG(INFO) << "Found '" << entry.m_name << "' GTA5.exe+" << HEX_TO_UPPER(result.as() - region.begin().as()); } else {