log: Make error and warn log file and function information

System Internals / BlueZ - Luiz Augusto von Dentz [intel.com] - 1 May 2020 20:44 EDT

This makes it a lot simpler to find out where errors/warnings come from and also remove the possibility of clashes when having multiple places where the message would be exactly the same.

569680650 log: Make error and warn log file and function information
src/log.c | 26 --------------------------
src/log.h | 6 ++++--
2 files changed, 4 insertions(+), 28 deletions(-)

Upstream: git.kernel.org


  • Share