X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65beede857f93e33c96e544f76b93793c973dc10..512273b5dab057e0f93aaed9c09c79d0e4960b61:/include/xbt/log.hpp diff --git a/include/xbt/log.hpp b/include/xbt/log.hpp index 3f74fb55b3..e2598edfad 100644 --- a/include/xbt/log.hpp +++ b/include/xbt/log.hpp @@ -1,15 +1,17 @@ -/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2023. 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 { +namespace simgrid::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). @@ -19,5 +21,7 @@ namespace xbt { XBT_PUBLIC void log_exception(e_xbt_log_priority_t priority, const char* context, std::exception const& exception); XBT_PUBLIC void install_exception_handler(); -} -} + +} // namespace simgrid::xbt + +#endif