diff options
Diffstat (limited to 'lib/util/debug.c')
-rw-r--r-- | lib/util/debug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c index 76178e2074..996efdff7e 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -198,6 +198,14 @@ _PUBLIC_ void setup_logging(const char *prog_name, enum debug_logtype new_logtyp } /** + Just run logging to stdout for this program +*/ +_PUBLIC_ void setup_logging_stdout(void) +{ + setup_logging(NULL, DEBUG_STDOUT); +} + +/** return a string constant containing n tabs no more than 10 tabs are returned */ |