mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-11 20:48:16 +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"
|
#include "TimeUtils.h"
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,10 @@
|
|||||||
* <h2><center>© COPYRIGHT 2014 MXCHIP Inc.</center></h2>
|
* <h2><center>© COPYRIGHT 2014 MXCHIP Inc.</center></h2>
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
#define app_log(M, ...) custom_log("APP", M, ##__VA_ARGS__)
|
#include "http_server/web_log.h"
|
||||||
#define mqtt_log(M, ...) custom_log("MQTT", M, ##__VA_ARGS__)
|
|
||||||
|
#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 "main.h"
|
||||||
#include "mico.h"
|
#include "mico.h"
|
||||||
|
|||||||
@@ -34,9 +34,10 @@
|
|||||||
#include "SocketUtils.h"
|
#include "SocketUtils.h"
|
||||||
#include "ota_server.h"
|
#include "ota_server.h"
|
||||||
#include "url.h"
|
#include "url.h"
|
||||||
|
#include "http_server/web_log.h"
|
||||||
|
|
||||||
#if OTA_DEBUG
|
#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
|
#else
|
||||||
#define ota_server_log(M, ...)
|
#define ota_server_log(M, ...)
|
||||||
#endif
|
#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 "mico.h"
|
||||||
#include "ota_server/ota_server.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 "main.h"
|
||||||
#include "user_gpio.h"
|
#include "user_gpio.h"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
#include "http_server/web_log.h"
|
||||||
#define os_log(format, ...) custom_log("SNTP", format, ##__VA_ARGS__)
|
#define os_log(format, ...) custom_log("SNTP", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
//#include "user_gpio.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 "main.h"
|
||||||
#include "user_gpio.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 "TimeUtils.h"
|
||||||
|
|
||||||
#include "mico.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 "main.h"
|
||||||
#include "mqtt_server/user_function.h"
|
#include "mqtt_server/user_function.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user