Give log channels fancier names

Improve LOG_CHANNEL macro to accept custom name.
This commit is contained in:
Nekotekina 2020-02-01 10:43:43 +03:00
parent ec80932c21
commit 3c0bd821c8
33 changed files with 46 additions and 34 deletions

View file

@ -1,7 +1,7 @@
#include "stdafx.h"
#include "PSF.h"
LOG_CHANNEL(psf_log);
LOG_CHANNEL(psf_log, "PSF");
template<>
void fmt_class_string<psf::format>::format(std::string& out, u64 arg)