1 /* Copyright (c) 2007-2011, 2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
11 struct xbt_log_appender_s {
12 void (*do_append) (xbt_log_appender_t this_appender, char *event);
13 void (*free_) (xbt_log_appender_t this_);
17 struct xbt_log_layout_s {
18 int (*do_layout) (xbt_log_layout_t l, xbt_log_event_t event, const char *fmt);
19 void (*free_) (xbt_log_layout_t l);
24 * \ingroup XBT_log_implem
25 * \param cat the category (not only its name, but the variable)
26 * \param parent the parent cat
28 * Programatically alter a category's parent (don't use).
30 XBT_PUBLIC(void) xbt_log_parent_set(xbt_log_category_t cat, xbt_log_category_t parent);
33 #endif /* LOG_PRIVATE_H */