Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 37f1660b20a778cba9e338679e5df3e6f2dd8408 https://github.com/OpenAMP/libmetal/commit/37f1660b20a778cba9e338679e5df3e6f... Author: Sergei Korneichuk sergei.korneichuk@amd.com Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths: M cmake/options.cmake M lib/CMakeLists.txt M lib/log.h
Log Message: ----------- log: add function name, line number prefix
Add convenience macros metal_err, metal_warn, metal_info, metal_dbg to avoid using excessively long and redundant metal_log(METAL_LOG_*). Add "function-name:line-number" prefix to all messages if the option WITH_FUNC_LINE_LOG is set ON during the configuration phase.
Signed-off-by: Sergei Korneichuk sergei.korneichuk@amd.com