CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
log_sinks.c File Reference
#include "log/log.h"
#include "log/log_sinks.h"
#include "log/log_a_logging_error.h"
#include "littlefs/lfs.h"
#include "littlefs/littlefs_helper.h"
#include "comms_drivers/comms_tx.h"
#include "main.h"
Include dependency graph for log_sinks.c:

Functions

void LOG_to_file_eager (const char filename[], const char msg[])
 Sends a log message to a log file.
void LOG_to_umbilical_uart (const char msg[])
 Sends a log message to the umbilical UART.
void LOG_to_uhf_radio (const char msg[])
 Sends a log message to the UHF radio.

Variables

UART_HandleTypeDef hlpuart1
uint8_t LFS_is_lfs_mounted

Function Documentation

◆ LOG_to_file_eager()

void LOG_to_file_eager ( const char filename[],
const char msg[] )

Sends a log message to a log file.

Parameters
filenamefull path of the system-specific log file - currently not used
msgThe message to be logged
Note
This function is potentially unused, as we've moved to lazy logging..
Here is the call graph for this function:

◆ LOG_to_uhf_radio()

void LOG_to_uhf_radio ( const char msg[])

Sends a log message to the UHF radio.

Parameters
msgThe message to be logged
Returns
void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LOG_to_umbilical_uart()

void LOG_to_umbilical_uart ( const char msg[])

Sends a log message to the umbilical UART.

Parameters
msgThe message to be logged
Returns
void
Here is the caller graph for this function:

Variable Documentation

◆ hlpuart1

UART_HandleTypeDef hlpuart1
extern

◆ LFS_is_lfs_mounted

uint8_t LFS_is_lfs_mounted
extern