WIP: Rework logging #48
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
||||||
#include <Memory.h>
|
#include <Memory.h>
|
||||||
#include <Util.h>
|
#include <Util.h>
|
||||||
|
|
||||||
#include <cstdarg>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
Levitating marked this conversation as resolved
Outdated
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -222,7 +221,7 @@ LogConfigUnindent(LogConfig * config)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
LogPrint(Stream * stream, LogConfig * config, int level, const char *msg, va_list argp)
|
LogPrint(Stream * stream, LogConfig * config, int level, const char *msg, va_list argp)
|
||||||
Levitating marked this conversation as resolved
Outdated
lda
commented
I'd probably consider making LogPrint static here, as it's not even part of the public includes. I'd probably consider making LogPrint static here, as it's not even part of the public includes.
Levitating
commented
Yes it should be static! Yes it should be static!
|
|||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
Loading…
Reference in a new issue
I think you meant stdarg.h, as those kind of includes are C++isms.
It was most likely automatically added by my IDE by accident.