CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
log_a_logging_error.c File Reference
#include <stdint.h>
#include "log/log_a_logging_error.h"
#include "log/log.h"
#include "log/log_sinks.h"
#include "log/lazy_file_log_sink.h"
Include dependency graph for log_a_logging_error.c:

Functions

void LOG_log_a_logging_error_if_file_is_broken (const char message[])
 Log an error which occurs while writing to the file log sink.

Function Documentation

◆ LOG_log_a_logging_error_if_file_is_broken()

void LOG_log_a_logging_error_if_file_is_broken ( const char message[])

Log an error which occurs while writing to the file log sink.

Parameters
messageMessage explaining the error.
Note
Why? Because we can't use the normal LOG_message function from within log sink implementations, because the log message gets formatted/stored into a statically-allocated buffer.
Here is the call graph for this function:
Here is the caller graph for this function: