forked from M-Labs/artiq
cd7f12e4b1
Also, make core_log() exactly equivalent to printf(), since the lack of a drop-in universally usable printf() equivalent annoys me. Note that this breaks compiled experiments. They'll be fixed in the following commits.
14 lines
252 B
C
14 lines
252 B
C
#ifndef __LOG_H
|
|
#define __LOG_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define LOG_BUFFER_SIZE 4096
|
|
|
|
void core_log(const char *fmt, ...);
|
|
void core_log_va(const char *fmt, va_list args);
|
|
void core_log_get(char *outbuf);
|
|
void core_log_clear(void);
|
|
|
|
#endif /* __LOG_H */
|