colorize more errlog messages

This commit is contained in:
Michael Davidsaver
2023-11-07 15:53:22 -08:00
parent f4be9daf4d
commit 63740f2edd
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ static int yyerror(char *str)
if (strlen(str))
errlogPrintf("%s at line %d\n", str, line_num);
else
errlogPrintf("Error at line %d\n", line_num);
errlogPrintf(ERL_ERROR " at line %d\n", line_num);
yyFailed = TRUE;
return 0;
}
+2 -2
View File
@@ -42,7 +42,7 @@ epicsThreadPool* epicsThreadPoolCreate(epicsThreadPoolConfig *opts)
/* caller likely didn't initialize the options structure */
if (opts && opts->maxThreads == 0) {
errlogMessage("Error: epicsThreadPoolCreate() options provided, but not initialized");
errlogMessage(ERL_ERROR ": epicsThreadPoolCreate() options provided, but not initialized");
return NULL;
}
@@ -78,7 +78,7 @@ epicsThreadPool* epicsThreadPoolCreate(epicsThreadPoolConfig *opts)
if (pool->threadsRunning == 0 && pool->conf.initialThreads != 0) {
epicsMutexUnlock(pool->guard);
errlogPrintf("Error: Unable to create any threads for thread pool\n");
errlogPrintf(ERL_ERROR ": Unable to create any threads for thread pool\n");
goto cleanup;
}