From 6cd658e4d3b0fef88d5f2fbd26ef30e63b5716b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano-Tarumi?= Date: Sat, 3 Mar 2018 13:28:26 +0100 Subject: [PATCH] core: toy with doxygen grouping and namespaces --- include/core/log.h | 9 ++++++++- {src => lib}/core/index.dox | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) rename {src => lib}/core/index.dox (81%) diff --git a/include/core/log.h b/include/core/log.h index 4becbfe..fe0bed9 100644 --- a/include/core/log.h +++ b/include/core/log.h @@ -85,6 +85,11 @@ inline namespace core { /** \ingroup core_log */ namespace log { +/** + * \ingroup core_log + * \{ + */ + /** * Logging level, a.k.a. priority. * @@ -115,7 +120,7 @@ extern level priority; /** * Return the output stream for the wanted verbosity. * - * If the level is greater than or equal to #prority, return a handle to + * If the level is greater than or equal to #priority, return a handle to * std::clog, otherwise return a dummy stream. * * It is your responsibility to write std::endl at the end of your log message. @@ -133,4 +138,6 @@ std::ostream& info(); std::ostream& debug(); std::ostream& verbose(); +/** \} */ + }}} diff --git a/src/core/index.dox b/lib/core/index.dox similarity index 81% rename from src/core/index.dox rename to lib/core/index.dox index 7311d4d..2fabc38 100644 --- a/src/core/index.dox +++ b/lib/core/index.dox @@ -7,3 +7,8 @@ * This group gathers all the small modules that perform generic tasks. * It is standalone, and doesn't have any special link with the game in itself. */ + +/** + * \namespace oshu::core + * \ingroup core + */