style: updated tag
This commit is contained in:
1 parent
15a9db7342
commit
9defb88edd
1 file changed
+2
-2
+2
-2
@@ -1,5 +1,7 @@
|
||||
#include "zh_syslog.h"
|
||||
|
||||
static const char *TAG = "zh_syslog";
|
||||
|
||||
#define ZH_LOGI(msg, ...) ESP_LOGI(TAG, msg, ##__VA_ARGS__)
|
||||
#define ZH_LOGE(msg, err, ...) ESP_LOGE(TAG, "[%s:%d:%s] " msg, __FILE__, __LINE__, esp_err_to_name(err), ##__VA_ARGS__)
|
||||
|
||||
@@ -11,8 +13,6 @@
|
||||
return err; \
|
||||
}
|
||||
|
||||
static const char *TAG = "zh_syslog";
|
||||
|
||||
static struct sockaddr_in _syslog_server = {0};
|
||||
volatile static int _socket = -1;
|
||||
volatile static bool _is_initialized = false;
|
||||
|
||||
Reference in new issue
Block a user