-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
fb8b04f
commit 37f1660
Showing
3 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters