mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 06:38:25 +00:00
Improve multipath logging output
This commit is contained in:
@ -518,6 +518,7 @@ class Bond {
|
||||
|
||||
public:
|
||||
void dumpInfo(int64_t now, bool force);
|
||||
std::string pathToStr(const SharedPtr<Path>& path);
|
||||
void dumpPathStatus(int64_t now, int pathIdx);
|
||||
|
||||
SharedPtr<Link> getLink(const SharedPtr<Path>& path);
|
||||
@ -1138,6 +1139,7 @@ class Bond {
|
||||
*/
|
||||
void log(const char* fmt, ...)
|
||||
{
|
||||
#ifdef ZT_TRACE
|
||||
time_t rawtime;
|
||||
struct tm* timeinfo;
|
||||
char timestamp[80];
|
||||
@ -1157,6 +1159,7 @@ class Bond {
|
||||
va_end(args);
|
||||
RR->t->bondStateMessage(NULL, traceMsg);
|
||||
#undef MAX_MSG_LEN
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user