summaryrefslogtreecommitdiffstats
path: root/lib/util/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix ndrdump to use a common setup_logging() APIAndrew Bartlett2009-06-291-1/+10
| | | | | | | | | By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett
* Revert "s4:debug: make setup_logging() a bit more compatible with samba3"Andrew Bartlett2009-06-291-1/+1
| | | | | | | | The problem is that the enum was previously a 'rachet', that is, it would only reset to a level higher than it was previouly set to. Changing the order broke file-based logging for our production sites. This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9.
* s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher2009-01-091-1/+1
| | | | | | | | | | | In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
* lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher2008-12-171-1/+2
| | | | metze
* Rename class to "cls" since the first is a keyword name in C++. Thanks,Jelmer Vernooij2008-11-021-1/+1
| | | | Brad.
* ALlow util/debug.h to be included more than once.Jelmer Vernooij2008-11-011-0/+5
|
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+4
| | | | remove some unused functions.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+129
Conflicts: source4/Makefile