mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
aae2923c4c
The kernels have print(), which prints aggregates (such as arrays) piece-by-piece, and newlines would interfere.
17 lines
296 B
C
17 lines
296 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);
|
|
|
|
#endif /* __LOG_H */
|