feat(Log): Changed log level of hooks and patterns

This commit is contained in:
Yimura 2021-05-25 12:59:02 +02:00
parent 6001b9e9b7
commit a4e9bc8140
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
2 changed files with 2 additions and 2 deletions

View File

@ -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
{

View File

@ -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<DWORD64>() - region.begin().as<DWORD64>());
LOG(INFO) << "Found '" << entry.m_name << "' GTA5.exe+" << HEX_TO_UPPER(result.as<DWORD64>() - region.begin().as<DWORD64>());
}
else
{