forked from M-Labs/artiq
d80be482fc
This is useful to get a fresh environment, such as when running tests that print to log buffer.
18 lines
314 B
C
18 lines
314 B
C
#ifndef __LOG_H
|
|
#define __LOG_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define LOG_BUFFER_SIZE 4096
|
|
|
|
void lognonl_va(const char *fmt, va_list args);
|
|
void lognonl(const char *fmt, ...);
|
|
|
|
void log_va(const char *fmt, va_list args);
|
|
void log(const char *fmt, ...);
|
|
|
|
void log_get(char *outbuf);
|
|
void log_clear();
|
|
|
|
#endif /* __LOG_H */
|