]> pilppa.com Git - libplp.git/commit
updates to log_debug/info/warning/error functions
authorMika Laitio <lamikr@pilppa.org>
Tue, 17 May 2011 20:01:07 +0000 (23:01 +0300)
committerMika Laitio <lamikr@pilppa.org>
Tue, 17 May 2011 20:01:07 +0000 (23:01 +0300)
commit6114bb5f252afb1e86682836b82db3e4c48213fe
treecebfc0ccc2545cfbd02b66402136e4f81e16d5f1
parent91f1aed496d23e7b2fb4baccc33b2aa31a8e6877
updates to log_debug/info/warning/error functions

printout the log severity and function name from where the
method was called by default. examples:

[dbg] test_logging: debug message text...
[inf] test_logging: info message text...
[wrn] test_logging: warning message text...
[err] test_logging: error message text...

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
src/log.h
src_test/test_logs.c