implemented all logFile changes in logger-test
This commit is contained in:
parent
cfdcad1c9b
commit
731b33e24e
@ -23,13 +23,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
//VARIABLES
|
//VARIABLES
|
||||||
int logFile = initLogger(WRITE_DIR); //INITIALIZE LOGGER FILE
|
logFile logger = initLogger(WRITE_DIR); //INITIALIZE LOGGER FILE
|
||||||
|
|
||||||
printf("%d\n", logFile);
|
printf("%d\n", logger.file);
|
||||||
|
|
||||||
writeLog(logFile, WRITE_MESSAGE); //WRITE
|
writeLog(logger.file, WRITE_MESSAGE); //WRITE
|
||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
deallocateLogger(logFile);
|
deallocateLogger(logger);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user