mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
26 lines
394 B
C++
26 lines
394 B
C++
#include <stdio.h>
|
|
#include "syncInt.h"
|
|
|
|
int main() {
|
|
printf("test \n");
|
|
|
|
syncStartEnv();
|
|
|
|
char temp[100];
|
|
snprintf(temp, 100, "./debug.log");
|
|
taosInitLog(temp, 10000, 1);
|
|
tsAsyncLog = 0;
|
|
|
|
for (int i = 0; i < 100; i++) {
|
|
sDebug("log:%d -------- \n", i);
|
|
}
|
|
|
|
fflush(NULL);
|
|
//taosCloseLog();
|
|
|
|
while(1) {
|
|
sleep(3);
|
|
}
|
|
return 0;
|
|
}
|
|
|