doc: subsys: logging: internal thread and thread wake up
Documenting new logger features: waking up processing thread and internal logger processing thread. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
000aaf96fb
commit
46db70ac4c
5 changed files with 82 additions and 23 deletions
|
@ -47,7 +47,9 @@ void log_init(void);
|
|||
*
|
||||
* See CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD.
|
||||
*
|
||||
* @param process_tid Process thread id. Used to wake up the thread
|
||||
* @note Function has asserts and has no effect when CONFIG_LOG_PROCESS is set.
|
||||
*
|
||||
* @param process_tid Process thread id. Used to wake up the thread.
|
||||
*/
|
||||
void log_thread_set(k_tid_t process_tid);
|
||||
|
||||
|
@ -81,6 +83,13 @@ void log_panic(void);
|
|||
*/
|
||||
bool log_process(bool bypass);
|
||||
|
||||
/**
|
||||
* @brief Return number of buffered log messages.
|
||||
*
|
||||
* @return Number of currently buffered log messages.
|
||||
*/
|
||||
u32_t log_buffered_cnt(void);
|
||||
|
||||
/** @brief Get number of independent logger sources (modules and instances)
|
||||
*
|
||||
* @param domain_id Domain ID.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue