64#define PQS_LOGGING_MESSAGE_MAX 256
71static const char PQS_LOGGER_PATH[] =
"PQS";
78static const char PQS_LOGGER_FILE[] =
"pqs.log";
85static const char PQS_LOGGER_HEAD[] =
"PQS Version 1.0";
void pqs_logger_initialize(const char *path)
Initialize the logger.
Definition logger.c:33
bool pqs_logger_write(const char *message)
Write a message to the log file.
Definition logger.c:147
void pqs_logger_print(void)
Print the log file.
Definition logger.c:75
size_t pqs_logger_size(void)
Get the log file size.
Definition logger.c:133
void pqs_logger_reset(void)
Reset the logger.
Definition logger.c:112
void pqs_logger_read(char *output, size_t otplen)
Read the contents of the log file.
Definition logger.c:100
bool pqs_logger_test(void)
Perform a manual test of the logger functions.
Definition logger.c:173
bool pqs_logger_exists(void)
Test if the log file exists.
Definition logger.c:61