How do I change the internal log priority in oat++ to PRIORITY_V?
std::shared_ptr<oatpp::base::Logger> logger = oatpp::base::Environment::getLogger();
I could not find a fucntion to change the priority.
How do I change the internal log priority in oat++ to PRIORITY_V?
std::shared_ptr<oatpp::base::Logger> logger = oatpp::base::Environment::getLogger();
I could not find a fucntion to change the priority.
As @lganzzzo comments, Oat++ does not write many logs itself, but you can control your own logs. Also, these are independent channels: you can enable verbose, and disable debug and information, for example. As far as I see in the code of the DefaultLogger, all logs are enabled by default (including Verbose).
There is an example on how to configure the logs: https://github.com/oatpp/oatpp/blob/master/test/oatpp/core/base/LoggerTest.cpp. In the following excerpt of that example, it takes the default logger and disables the Debug priority, while other priorities (including Verbose) stay enabled):