1 /* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
10 struct xbt_log_appender_s {
11 void (*do_append)(const s_xbt_log_appender_t* this_appender, const char* event);
12 void (*free_)(const s_xbt_log_appender_t* this_);
16 struct xbt_log_layout_s {
17 int (*do_layout)(const s_xbt_log_layout_t* l, xbt_log_event_t event, const char* fmt);
18 void (*free_)(const s_xbt_log_layout_t* l);
23 * @ingroup XBT_log_implem
24 * @param cat the category (not only its name, but the variable)
25 * @param parent the parent cat
27 * Programmatically alter a category's parent (don't use).
29 XBT_PUBLIC void xbt_log_parent_set(xbt_log_category_t cat, xbt_log_category_t parent);