summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index b6aa005..f5baa8a 100644
--- a/main.c
+++ b/main.c
@@ -47,6 +47,7 @@ int main(int argc, char *argv[])
// DBG_FLAG_OUTPUT_TO_STDOUT |
DBG_FLAG_OUTPUT_TO_SYSLOG |
//DBG_FLAG_OUTPUT_TO_STDERR |
+ DBG_FLAG_USE_FILTER |
0,
//DBG_OPTION_FD, fd,
// DBG_OPTION_FILENAME, "",
@@ -54,6 +55,7 @@ int main(int argc, char *argv[])
"127.0.0.1",
DBG_OPTION_SYSLOG_PORT,
514,
+ DBG_OPTION_FILTER, "+all",
DBG_OPTION_END);
if(status != DBG_STATUS_OK) {
@@ -64,6 +66,8 @@ int main(int argc, char *argv[])
INFO(example, "We are up and running");
DEBUG(example, "Or are we %d?", 42);
+
+ DEBUG(foo, "Or are we %d?", 42);
dbg_close();