update
This commit is contained in:
parent
3c2c1e854f
commit
1c0051e4da
6
das-dn/third_party/AdsLib/Log.cpp
vendored
6
das-dn/third_party/AdsLib/Log.cpp
vendored
@ -5,14 +5,16 @@
|
||||
*/
|
||||
|
||||
#include "Log.h"
|
||||
|
||||
#if 0
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <ctime>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include "public.h"
|
||||
|
||||
#if 0
|
||||
#ifdef _WIN32
|
||||
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) do { \
|
||||
struct tm temp; \
|
||||
@ -24,7 +26,7 @@
|
||||
#else
|
||||
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) std::strftime(DATE_TIME, sizeof(DATE_TIME), "%FT%T%z ", localtime(TIME_T));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
size_t Logger::logLevel = CONFIG_DEFAULT_LOGLEVEL;
|
||||
#if 0
|
||||
static const char* CATEGORY[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user