3 /* log_usage - A test of normal usage of the log facilities */
5 /* Authors: Martin Quinson */
6 /* Copyright (C) 2004 the OURAGAN project. */
8 /* This program is free software; you can redistribute it and/or modify it
9 under the terms of the license (GNU LGPL) which comes with this package. */
14 GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(test, top,"Logging specific to this test");
15 GRAS_LOG_NEW_CATEGORY(top,"Useless test channel");
17 int main(int argc, char **argv) {
18 gras_init_defaultlog(&argc,argv,"root.thresh=debug log.thresh=debug");
22 CDEBUG2(top, "val=%d%s", 3, "!");
23 CRITICAL6("false alarm%s%s%s%s%s%s", "","","","","","!");