1 /* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
3 /* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
4 * 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 struct xbt_log_appender_s {
14 void (*do_append) (xbt_log_appender_t this_appender, char *event);
15 void (*free_) (xbt_log_appender_t this_);
19 struct xbt_log_layout_s {
20 void (*do_layout) (xbt_log_layout_t l,
21 xbt_log_event_t event, const char *fmt,
22 xbt_log_appender_t appender);
23 void (*free_) (xbt_log_layout_t l);
29 * \ingroup XBT_log_implem
30 * \param cat the category (not only its name, but the variable)
31 * \param parent the parent cat
33 * Programatically alter a category's parent (don't use).
35 XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat,
36 xbt_log_category_t parent);
39 #endif /* LOG_PRIVATE_H */