IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 6f74dc66 authored by Remy Prechelt's avatar Remy Prechelt Committed by Ralf Ulrich
Browse files

Updated function docstrings (mention smart pointer).

parent ed8a3a73
No related branches found
No related tags found
2 merge requests!234WIP: Initial example of python as script language from C++,!223Complete rework of logging using spdlog
......@@ -22,11 +22,6 @@ variables:
# Mote: "WIP:" merge request, non-WIP merge requests and "Ready for Code Review" MR are all
# handled explicitly
#
# normal multi-step pipeline for each commit
stages:
- quality
- config
......
......@@ -46,11 +46,13 @@ namespace corsika::logging {
}
/**
* Get a reference to a named logger.
* Get a smart pointer to an existing logger.
*
* If the logger does not exist, it is created.
* If the logger does not exist, it is created and returned.
*
* @param name The name of the logger to get.
* @param defaultlog If True, make this the default logger.
* @returns The constructed and formatted logger.
*/
auto GetLogger(std::string const& name, bool const defaultlog = false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment