From 1e7868ead1476dbc6e4b57c2d126a32162430992 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 4 Dec 2022 19:05:28 +0100 Subject: [PATCH] made initLogger return logFile --- include/logger/logger.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/logger/logger.h b/include/logger/logger.h index ee0ff6a..e0f71c7 100644 --- a/include/logger/logger.h +++ b/include/logger/logger.h @@ -19,7 +19,9 @@ along with this program. If not, see . #ifndef WHY2_LOGGER_LOGGER_H #define WHY2_LOGGER_LOGGER_H -int initLogger(char *directoryPath); //CREATES LOGGING FILE IN directoryPath +#include + +logFile initLogger(char *directoryPath); //CREATES LOGGING FILE IN directoryPath void writeLog(int loggerFile, char *logMessage); //WRITES logMessage TO loggerFile #endif \ No newline at end of file