mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-05 05:59:42 +00:00
update docs
This commit is contained in:
parent
945da5be9d
commit
6b8bb9f2cd
13
qalogger.h
13
qalogger.h
@ -18,6 +18,17 @@ namespace QuasarAppUtils {
|
|||||||
/**
|
/**
|
||||||
* @brief The QALogger class is logger handler for app.
|
* @brief The QALogger class is logger handler for app.
|
||||||
* This class allow to log all message from app to file.
|
* This class allow to log all message from app to file.
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* @code
|
||||||
|
* #include <qalogger.h>
|
||||||
|
*
|
||||||
|
* QuasarAppUtils::QALogger logger;
|
||||||
|
*
|
||||||
|
* QuasarAppUtils::Params::parseParams(argc, argv);
|
||||||
|
*
|
||||||
|
* logger.init();
|
||||||
|
* @endcode
|
||||||
*/
|
*/
|
||||||
class QUASARAPPSHARED_EXPORT QALogger
|
class QUASARAPPSHARED_EXPORT QALogger
|
||||||
{
|
{
|
||||||
@ -27,6 +38,8 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief init This method initialize logging of all qt message into file.
|
* @brief init This method initialize logging of all qt message into file.
|
||||||
|
* @note This function should be invokae after parsing arguments.
|
||||||
|
* if you invoke this before parsing arguments, verbose level of logs will not created correct.
|
||||||
*/
|
*/
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user