summaryrefslogtreecommitdiff
path: root/lib/util/debug.h
AgeCommit message (Collapse)AuthorFilesLines
2010-10-12lib/debug Add DEBUGC and DEBUGADDC as dummiesAndrew Bartlett1-0/+4
This allows code that needs to also compile against the source3 debug code to compile in source4. Andrew Bartlett
2010-04-02debug: enable talloc loggingAndrew Tridgell1-0/+3
we want to ensure talloc warnings are printed in the log
2010-01-09s4-debug: removed debug_ctx(). It didn't catch on :-)Andrew Tridgell1-4/+0
There was only one user, which isn't worth it for the overhead.
2009-06-29Fix ndrdump to use a common setup_logging() APIAndrew Bartlett1-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
2009-06-29Revert "s4:debug: make setup_logging() a bit more compatible with samba3"Andrew Bartlett1-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.
2009-01-09s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher1-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
2008-12-17lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher1-1/+2
metze
2008-11-02Rename class to "cls" since the first is a keyword name in C++. Thanks,Jelmer Vernooij1-1/+1
Brad.
2008-11-01ALlow util/debug.h to be included more than once.Jelmer Vernooij1-0/+5
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+4
remove some unused functions.
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+129
Conflicts: source4/Makefile