Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[s4u] add Comm::wait_any
[simgrid.git] / include / xbt / log.hpp
1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved.*/
2
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. */
5
6 #include <xbt/log.h>
7 #include <xbt/exception.hpp>
8
9 namespace simgrid {
10 namespace xbt {
11
12 /** Display informations about an exception
13  *
14  *  We display: the exception type, name, attached backtraces (if any) and
15  *  the nested exception (if any).
16  *
17  *  @ingroup XBT_ex
18  */
19 XBT_PUBLIC(void) logException(
20   e_xbt_log_priority_t priority,
21   const char* context, std::exception const& exception);
22
23 }
24 }