mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-15 16:15:08 -05:00
Allow overriding default definitions of logging macros (#384)
* Update logging_stack.h file to avoid use of __FUNCTION__ macro * Revert to use __FUNCTION__ instead of __FILE__ * Fix comment about metadata format * Fix incorrect mapping of SdkLog function * Fix typo causing LOG_METADATA_ARGS to be undefined * Fix another bug with SdkLog macro definition * Fix formatting * Move mapping of SdkLog to vLoggingPrintf from logging_stack to config files * Remove dependency of LIBRARY_LOG_NAME on LIBRARY_METADATA_* macros * Minor improvements Co-authored-by: Gary Wicker <14828980+gkwicker@users.noreply.github.com> Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
This commit is contained in:
parent
596b466300
commit
21878bd619
25 changed files with 389 additions and 105 deletions
|
|
@ -27,11 +27,11 @@
|
|||
|
||||
/**
|
||||
* @file logging_levels.h
|
||||
* @brief Defines the logging level macros.
|
||||
* @brief Defines the configuration constants for all logging verbosity levels.
|
||||
*/
|
||||
|
||||
#ifndef LOGGING_LEVELS_H_
|
||||
#define LOGGING_LEVELS_H_
|
||||
#ifndef LOGGING_LEVELS_H
|
||||
#define LOGGING_LEVELS_H
|
||||
|
||||
/**
|
||||
* @constantspage{logging,logging library}
|
||||
|
|
@ -111,4 +111,4 @@
|
|||
*/
|
||||
#define LOG_DEBUG 4
|
||||
|
||||
#endif /* ifndef LOGGING_LEVELS_H_ */
|
||||
#endif /* ifndef LOGGING_LEVELS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue