fiatlux/firmware/log.h
2023-02-16 11:38:59 +01:00

32 lines
430 B
C

//
// Created by jedi on 18.11.21.
//
#ifndef FIRMWARE_LOG_H
#define FIRMWARE_LOG_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void syslog(const char *);
void syslog_i32(const uint32_t);
unsigned syslog_current_tail();
unsigned syslog_data_after(unsigned);
int syslog_copy_out(char *, unsigned, unsigned);
void syslog_attach();
void syslog_detach();
#ifdef __cplusplus
}
#endif
#endif //FIRMWARE_LOG_H