mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-26 09:44:38 +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.
|
||||
* 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
|
||||
{
|
||||
@ -27,6 +38,8 @@ public:
|
||||
|
||||
/**
|
||||
* @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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user