Remove legacy GENERAL log channel

Add some more log channels instead.
This commit is contained in:
Nekotekina committed 2020-02-01 07:49:38 +03:00
1 parent efafda2650
commit d9a0619ddd
26 files changed
+269 -221

No files matched your search

+3 -1
View File
@@ -3,6 +3,8 @@
#include "File.h"
#include "Config.h"
LOG_CHANNEL(patch_log);
template <>
void fmt_class_string<patch_type>::format(std::string& out, u64 arg)
{
@@ -40,7 +42,7 @@ void patch_engine::append(const std::string& patch)
}
catch (const std::exception& e)
{
LOG_FATAL(GENERAL, "Failed to load patch file %s\n%s thrown: %s", patch, typeid(e).name(), e.what());
patch_log.fatal("Failed to load patch file %s\n%s thrown: %s", patch, typeid(e).name(), e.what());
return;
}