int additivity;
};
-struct xbt_log_appender_s {
- void (*do_append) (xbt_log_appender_t this_appender,
- char *event);
- void (*free_) (xbt_log_appender_t this_);
- void *data;
-};
-
-struct xbt_log_layout_s {
- void (*do_layout)(xbt_log_layout_t l,
- xbt_log_event_t event, const char *fmt);
- void (*free_) (xbt_log_layout_t l);
- void *data;
-} ;
-
struct xbt_log_event_s {
xbt_log_category_t cat;
e_xbt_log_priority_t priority;
xbt/graphxml.c \
xbt/graphxml.dtd \
xbt/context_private.h \
+ xbt/log_private.h \
xbt/ex_interface.h \
\
surf/maxmin_private.h \
xbt/dict_private.h xbt/heap_private.h xbt/fifo_private.h \
xbt/graph_private.h xbt/graphxml_parse.c xbt/graphxml.l \
xbt/graphxml.c xbt/graphxml.dtd xbt/context_private.h \
- xbt/ex_interface.h surf/maxmin_private.h \
+ xbt/log_private.h xbt/ex_interface.h surf/maxmin_private.h \
surf/trace_mgr_private.h surf/surf_private.h \
surf/cpu_private.h surf/workstation_private.h \
surf/surf_timer_private.h surf/surfxml_parse.c surf/surfxml.l \
/* log - a generic logging facility in the spirit of log4j */
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h"
#include "xbt/ex.h"
#include "xbt/sysdep.h"
-#include "xbt/log.h"
+#include "xbt/log_private.h"
#include "xbt/dynar.h"
XBT_PUBLIC_DATA(int) (*xbt_pid)();
--- /dev/null
+/* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
+
+/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#ifndef LOG_PRIVATE_H
+#define LOG_PRIVATE_H
+
+#include "xbt/log.h"
+struct xbt_log_appender_s {
+ void (*do_append) (xbt_log_appender_t this_appender,
+ char *event);
+ void (*free_) (xbt_log_appender_t this_);
+ void *data;
+};
+
+struct xbt_log_layout_s {
+ void (*do_layout)(xbt_log_layout_t l,
+ xbt_log_event_t event, const char *fmt);
+ void (*free_) (xbt_log_layout_t l);
+ void *data;
+} ;
+
+
+#endif /* LOG_PRIVATE_H */
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/log.h"
+#include "xbt/log_private.h"
#include <stdio.h>
/**
#include "portable.h" /* execinfo when available */
#include "xbt/sysdep.h"
-#include "xbt/log.h"
+#include "xbt/log_private.h"
#include "gras/virtu.h" /* gras_os_myname (KILLME) */
#include "xbt/synchro.h" /* xbt_thread_self_name */
#include <stdio.h>
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/log.h"
+#include "xbt/log_private.h"
#include "xbt/synchro.h" /* xbt_thread_name */
#include "gras/virtu.h"
#include <stdio.h>