mirror of
https://github.com/daeken/Zookeeper.git
synced 2025-04-02 10:52:54 -04:00
20 lines
328 B
C++
20 lines
328 B
C++
#include "NightBeliever.hpp"
|
|
|
|
void log(const char *fmt, ...) {
|
|
char output[2048];
|
|
va_list arglist;
|
|
|
|
va_start(arglist, fmt);
|
|
vsnprintf(output, 2048, fmt, arglist);
|
|
va_end(arglist);
|
|
|
|
log_(output);
|
|
}
|
|
|
|
void log(const char *fmt, va_list arglist) {
|
|
char output[2048];
|
|
|
|
vsnprintf(output, 2048, fmt, arglist);
|
|
|
|
log_(output);
|
|
}
|