X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29379a85ce9802fd3174f4237b57d240a704cb45..e71a2a302d28430dc1bfee906f842f5f3d0fa3ce:/include/xbt/log.hpp diff --git a/include/xbt/log.hpp b/include/xbt/log.hpp index 4aaff8a26a..50e5ec6458 100644 --- a/include/xbt/log.hpp +++ b/include/xbt/log.hpp @@ -1,15 +1,18 @@ -/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2021. The SimGrid Team. 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 SIMGRID_XBT_LOG_HPP +#define SIMGRID_XBT_LOG_HPP + #include #include namespace simgrid { namespace xbt { -/** Display informations about an exception +/** Display information about an exception * * We display: the exception type, name, attached backtraces (if any) and * the nested exception (if any). @@ -20,8 +23,7 @@ XBT_PUBLIC void log_exception(e_xbt_log_priority_t priority, const char* context XBT_PUBLIC void install_exception_handler(); -// deprecated -XBT_ATTRIB_DEPRECATED_v323("xbt::log_exception()") XBT_PUBLIC void logException(e_xbt_log_priority_t priority, const char* context, std::exception const& exception); -XBT_ATTRIB_DEPRECATED_v323("xbt::install_exception_handler()") XBT_PUBLIC void installExceptionHandler(); -} -} +} // namespace xbt +} // namespace simgrid + +#endif \ No newline at end of file