lib/log: Add verbose logging routines
authorGeoff Levand <geoff@infradead.org>
Thu, 2 Aug 2018 17:29:33 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commit679d9dceb5bdf51f118548ca2645dc81088a8974
tree40ccf5ccffa7f6dd1dd4bfec134613f178b8bdab
parente2185d2c52325bd6695f79eff38dfab63cb0d49c
lib/log: Add verbose logging routines

Add three new logging routines pb_log_fn and pb_debug_fn, which
print the calling function's name to the log, and pb_debug_fl
which prints the calling function's name and the file line
number to the log.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
lib/log/log.c
lib/log/log.h
s [new file with mode: 0644]