go back to release mode
This commit is contained in:
parent
3f1e9644dd
commit
07697bc888
3 changed files with 1 additions and 6 deletions
|
|
@ -67,8 +67,6 @@ void appendLogBuf(const LogEntry& entry) {
|
|||
const char* msg=toWrite.c_str();
|
||||
size_t len=toWrite.size();
|
||||
|
||||
printf("appendLogBuf %d %d\n",logFilePosI,(int)len);
|
||||
|
||||
int remaining=(logFilePosO-logFilePosI-1)&TA_LOGFILE_BUF_SIZE;
|
||||
|
||||
if (len>=(unsigned int)remaining) {
|
||||
|
|
@ -93,8 +91,6 @@ int writeLog(int level, const char* msg, fmt::printf_args args) {
|
|||
time_t thisMakesNoSense=time(NULL);
|
||||
int pos=(logPosition.fetch_add(1))&TA_LOG_MASK;
|
||||
|
||||
printf("logPosition: %d\n",pos);
|
||||
|
||||
logEntries[pos].text.assign(fmt::vsprintf(msg,args));
|
||||
// why do I have to pass a pointer
|
||||
// can't I just pass the time_t directly?!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue