diff options
author | Pavel Březina <pbrezina@redhat.com> | 2011-08-09 10:23:15 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-25 15:46:11 -0400 |
commit | 267bdd44fc55e064412177b7a67c7a047c912177 (patch) | |
tree | e98b9c3680c8c4c5be63b228603a231400529f58 /src/sbus | |
parent | a32ae272bb0ae0a47ab80d3a2fcc535fd5260754 (diff) | |
download | sssd-267bdd44fc55e064412177b7a67c7a047c912177.tar.gz sssd-267bdd44fc55e064412177b7a67c7a047c912177.tar.bz2 sssd-267bdd44fc55e064412177b7a67c7a047c912177.zip |
New DEBUG facility - modified DEBUG
https://fedorahosted.org/sssd/ticket/925
Modified: DEBUG() macro to work with new levels
There are several new macros in util/util.h:
- DEBUG_MSG(level, function, message) which will format the debug message
like "(time) [prg_name] [function] (level): message\n"
- DEBUG_IS_SET(level) that you should use to check if the level is allowed
to be logged
You can use it like: if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) {...}
Diffstat (limited to 'src/sbus')
0 files changed, 0 insertions, 0 deletions