Skip to content

Commit

Permalink
core: toy with doxygen grouping and namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fmang committed Mar 3, 2018
1 parent b4b4e23 commit 6cd658e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/core/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ inline namespace core {
/** \ingroup core_log */
namespace log {

/**
* \ingroup core_log
* \{
*/

/**
* Logging level, a.k.a. priority.
*
Expand Down Expand Up @@ -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.
Expand All @@ -133,4 +138,6 @@ std::ostream& info();
std::ostream& debug();
std::ostream& verbose();

/** \} */

}}}
5 changes: 5 additions & 0 deletions src/core/index.dox → lib/core/index.dox
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

0 comments on commit 6cd658e

Please sign in to comment.