CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
log
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
8
void
LOG_to_file_lazy
(
const
char
filename[],
const
char
msg[]);
9
10
void
LOG_subtask_handle_sync_and_close_of_current_log_file
();
11
12
int8_t
LOG_emergency_sync_current_log_file
(
void
);
13
14
#endif
// INCLUDE_GUARD__LAZY_FILE_LOG_SINK_H
lfs.h
LOG_to_file_lazy
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:130
LOG_subtask_handle_sync_and_close_of_current_log_file
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:159
LOG_emergency_sync_current_log_file
int8_t LOG_emergency_sync_current_log_file(void)
Syncs the current log file as minimally as possible.
Definition
lazy_file_log_sink.c:151
Generated by
1.17.0