fiatlux/firmware/log.h

33 lines
430 B
C
Raw Normal View History

//
// Created by jedi on 18.11.21.
//
#ifndef FIRMWARE_LOG_H
#define FIRMWARE_LOG_H
2022-09-24 05:48:47 +00:00
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void syslog(const char *);
2022-09-24 05:48:47 +00:00
void syslog_i32(const uint32_t);
unsigned syslog_current_tail();
unsigned syslog_data_after(unsigned);
2022-09-13 03:29:26 +00:00
int syslog_copy_out(char *, unsigned, unsigned);
void syslog_attach();
void syslog_detach();
#ifdef __cplusplus
}
#endif
#endif //FIRMWARE_LOG_H