CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
lazy_file_log_sink.h
Go to the documentation of this file.
1#ifndef INCLUDE_GUARD__LAZY_FILE_LOG_SINK_H
2#define INCLUDE_GUARD__LAZY_FILE_LOG_SINK_H
3
4#include <stdint.h>
5
6#include "littlefs/lfs.h"
7
8void LOG_to_file_lazy(const char filename[], const char msg[]);
9
11
12#endif // INCLUDE_GUARD__LAZY_FILE_LOG_SINK_H
void LOG_to_file_lazy(const char filename[], const char msg[])
Write a log message to an LFS log file.
Definition lazy_file_log_sink.c:103
void LOG_subtask_handle_sync_and_close_of_current_log_file()
Flush the current LittleFS log file(s), forcing a write to flash.
Definition lazy_file_log_sink.c:126