1 /* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
3 /* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
5 /* This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package. */
12 struct xbt_log_appender_s {
13 void (*do_append) (xbt_log_appender_t this_appender, char *event);
14 void (*free_) (xbt_log_appender_t this_);
18 struct xbt_log_layout_s {
19 void (*do_layout) (xbt_log_layout_t l,
20 xbt_log_event_t event, const char *fmt,
21 xbt_log_appender_t appender);
22 void (*free_) (xbt_log_layout_t l);
28 * \ingroup XBT_log_implem
29 * \param cat the category (not only its name, but the variable)
30 * \param parent the parent cat
32 * Programatically alter a category's parent (don't use).
34 XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat,
35 xbt_log_category_t parent);
38 #endif /* LOG_PRIVATE_H */