2 /* log_usage - A test of normal usage of the log facilities */
4 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
13 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(test, top,
14 "Logging specific to this test");
15 XBT_LOG_NEW_CATEGORY(top, "Useless test channel");
19 int main(int argc, char **argv)
21 xbt_init(&argc, argv);
25 CDEBUG2(top, "val=%d%s", 3, "!");
26 CRITICAL6("false alarm%s%s%s%s%s%s", "", "", "", "", "", "!");