|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Thread-safe logging utilities. More...
#include <sys/utsname.h>#include <errno.h>#include <stdio.h>#include <stdarg.h>#include <string.h>#include <useMutex.H>Go to the source code of this file.
Classes | |
| class | Log_Manager |
| Thread-safe log manager with timestamps. More... | |
Macros | |
| #define | WRITE_IN_LOG(log, format...) log.write_line(format) |
| Macro to write to log with automatic file/line in debug mode. | |
Thread-safe logging utilities.
This file provides Log_Manager, a thread-safe logging class that writes timestamped messages to a file with mutex protection.
Definition in file log.H.
| #define WRITE_IN_LOG | ( | log, | |
| format... | |||
| ) | log.write_line(format) |
Macro to write to log with automatic file/line in debug mode.
| log | Log_Manager instance |
| format | Printf-style format and arguments |