libcamera: log: Fix Doxygen documentation

Now that the documentation can be compiled, Doxygen throws a few
warnings due to incorrect enum field naming. Fix it.

The \file block needs to be named after the header file in order for
Doxygen to document any global function, variable, typedef or enum
defined in the header (as documented in the Doxygen manual under the
\file command). We thus need to use log.h as the file name. No \file
block is needed for the .cpp file, as we don't want to generate
documentation for internal private globals.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2018-12-11 20:22:36 +02:00
parent 53c4d4c34f
commit b4351e1a6b

View file

@ -14,7 +14,7 @@
#include "utils.h"
/**
* \file log.cpp
* \file log.h
* \brief Logging infrastructure
*/
@ -23,11 +23,11 @@ namespace libcamera {
/**
* \enum LogSeverity
* Log message severity
* \var Info
* \var LogInfo
* Informational message
* \var Warning
* \var LogWarning
* Warning message, signals a potential issue
* \var Error
* \var LogError
* Error message, signals an unrecoverable issue
*/