blob: e1e40889b3e63f7241870122346912399f8a71fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef LOG_H_
#define LOG_H_
#include <stdarg.h>
/*
* Defines logging capabilities. This logging unit will enable logging on
* the systems main USART output.
*/
/** Similar to fprintf, but with a stripped-down format-string DSL. */
void klogf(const char* fmt, ...);
/** Like klogf, but with a va_list argument. */
void kvlogf(const char* fmt, va_list args);
/** Log the following message as an error. */
void kerr_logf(const char* fmt, ...);
/** Like klogf, but with a va_list argument. */
void kerr_vlogf(const char* fmt, va_list args);
#endif
|