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"
|
#include "Log.h"
|
||||||
|
#if 0
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#endif
|
||||||
#include "public.h"
|
#include "public.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) do { \
|
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) do { \
|
||||||
struct tm temp; \
|
struct tm temp; \
|
||||||
@ -24,7 +26,7 @@
|
|||||||
#else
|
#else
|
||||||
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) std::strftime(DATE_TIME, sizeof(DATE_TIME), "%FT%T%z ", localtime(TIME_T));
|
#define TIME_T_TO_STRING(DATE_TIME, TIME_T) std::strftime(DATE_TIME, sizeof(DATE_TIME), "%FT%T%z ", localtime(TIME_T));
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
size_t Logger::logLevel = CONFIG_DEFAULT_LOGLEVEL;
|
size_t Logger::logLevel = CONFIG_DEFAULT_LOGLEVEL;
|
||||||
#if 0
|
#if 0
|
||||||
static const char* CATEGORY[] = {
|
static const char* CATEGORY[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user