Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
13
source/System/Log.cpp
Normal file
13
source/System/Log.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <Spectre/System/Log.h>
|
||||
|
||||
void log(const char *fmt, ...) {
|
||||
|
||||
va_list vl;
|
||||
|
||||
va_start(vl, fmt);
|
||||
vfprintf(stderr, fmt, vl);
|
||||
va_end(vl);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue