BSB Developer Docs
Loading...
Searching...
No Matches
log_storage.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <stdbool.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
18#define RECORD_LOG_STORAGE "log_storage"
19
25typedef struct LogStorage LogStorage;
26
30#define LOG_STORAGE_DUMP_DEFAULT_FILE_PATH "/ext/log.txt"
31
48bool log_storage_dump(LogStorage* instance, const char* path);
49
61
71
72#ifdef __cplusplus
73}
74#endif
void log_storage_resume_remote(LogStorage *instance)
Resume remote log reception after log_storage_suspend_remote.
Definition log_storage.c:234
bool log_storage_dump(LogStorage *instance, const char *path)
Snapshot the captured log buffer into a file on the /ext partition.
Definition log_storage.c:207
void log_storage_suspend_remote(LogStorage *instance)
Temporarily release the remote log UART.
Definition log_storage.c:224
Definition log_storage.c:16