common/log: Move Log namespace into the Common namespace

Forgot to move this over when I moved the rest of the source files with
lacking namespaces over.
This commit is contained in:
Lioncash
2023-06-24 01:51:16 +03:00
committed by GPUCode
parent 4fd0cbebdb
commit b4c38372d1
18 changed files with 66 additions and 54 deletions

View File

@@ -150,6 +150,8 @@ static void SaveBanList(const Network::Room::BanList& ban_list, const std::strin
}
static void InitializeLogging(const std::string& log_file) {
using namespace Common;
Log::AddBackend(std::make_unique<Log::ColorConsoleBackend>());
const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir);