add file comments

This commit is contained in:
Nayan
2025-05-08 22:34:36 -04:00
parent 51fe7e1c8d
commit f060c35f7d
12 changed files with 105 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
#ifndef LOGGING_H
#define LOGGING_H
/**
* logging.h
*
* This file contains functions for logging messages.
*
* Included functionality is opening and closing the log file, setting the log
* level, and logging messages
*/
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
@@ -51,3 +63,5 @@ void close_log_file();
* @param ... The variadic arguments to format the string with
*/
void log_message(int level, const char* fmt, ...);
#endif