mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-11 12:38:14 +08:00
好多Log
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("FUNCTION", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("FUNCTION", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "TimeUtils.h"
|
||||
|
||||
|
||||
@@ -18,8 +18,10 @@
|
||||
* <h2><center>© COPYRIGHT 2014 MXCHIP Inc.</center></h2>
|
||||
******************************************************************************
|
||||
*/
|
||||
#define app_log(M, ...) custom_log("APP", M, ##__VA_ARGS__)
|
||||
#define mqtt_log(M, ...) custom_log("MQTT", M, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
|
||||
#define app_log(M, ...) custom_log("APP", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__)
|
||||
#define mqtt_log(M, ...) custom_log("MQTT", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__)
|
||||
|
||||
#include "main.h"
|
||||
#include "mico.h"
|
||||
|
||||
@@ -34,9 +34,10 @@
|
||||
#include "SocketUtils.h"
|
||||
#include "ota_server.h"
|
||||
#include "url.h"
|
||||
#include "http_server/web_log.h"
|
||||
|
||||
#if OTA_DEBUG
|
||||
#define ota_server_log(M, ...) custom_log("OTA", M, ##__VA_ARGS__)
|
||||
#define ota_server_log(M, ...) custom_log("OTA", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__)
|
||||
#else
|
||||
#define ota_server_log(M, ...)
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "mico.h"
|
||||
#include "ota_server/ota_server.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("RTC", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("RTC", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "main.h"
|
||||
#include "user_gpio.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#define os_log(format, ...) custom_log("SNTP", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("SNTP", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "main.h"
|
||||
//#include "user_gpio.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("KEY", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("KEY", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "main.h"
|
||||
#include "user_gpio.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
#include "TimeUtils.h"
|
||||
|
||||
#include "mico.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("UDP", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("UDP", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "main.h"
|
||||
#include "mqtt_server/user_function.h"
|
||||
|
||||
Reference in New Issue
Block a user