update
This commit is contained in:
parent
eb4a27fbe7
commit
2dbd865dd2
3
das-dn/third_party/AdsLib/Log.cpp
vendored
3
das-dn/third_party/AdsLib/Log.cpp
vendored
@ -39,7 +39,8 @@ static const char* CATEGORY[] = {
|
||||
|
||||
void Logger::Log(const size_t level, const std::string& msg)
|
||||
{
|
||||
if (level >= logLevel) {
|
||||
if (level >= logLevel)
|
||||
{
|
||||
#if 0
|
||||
std::time_t tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||
const auto category = CATEGORY[std::min(level, sizeof(CATEGORY) / sizeof(CATEGORY[0]))];
|
||||
|
Loading…
Reference in New Issue
Block a user