renamed logger-test's test variable to logFile

This commit is contained in:
Václav Šmejkal 2022-11-22 18:57:53 +01:00
parent 3c17674cdb
commit 8c4b888a88
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -5,13 +5,13 @@
int main(void) int main(void)
{ {
//VARIABLES //VARIABLES
int test = initLogger(WRITE_DIR); //INITIALIZE LOGGER FILE int logFile = initLogger(WRITE_DIR); //INITIALIZE LOGGER FILE
printf("%d\n", test); printf("%d\n", logFile);
writeLog(test, WRITE_MESSAGE); //WRITE writeLog(logFile, WRITE_MESSAGE); //WRITE
//DEALLOCATION //DEALLOCATION
deallocateLogger(test); deallocateLogger(logFile);
return 0; return 0;
} }