FIREBREATH 1.6 — VC2010 —
No logging with FBLOG_TRACE(“StaticInitialize()”, “INIT-trace”);
settings
outMethods.push_back(std::make_pair(FB::Log::LogMethod_File, “U:/logs/PT.log”));
…
FB::Log::LogLevel getLogLevel(){
return FB::Log::LogLevel_Trace;
…
changing “FBLOG_TRACE” to “FBLOG_INFO” logging to Logfile works. I don´t understand the reason.
function not inserted in its respective area
Discription Logging here.
Enabling logging
…
regenerate your project using the prep* scripts
open up Factory.cpp in your project. You need to define the following function inside the class definition for PluginFactory:
…
About log levels
…
If you want to change the log level, you need to define the following in your Factory.cpp:
Referring to the above that means somewhere in “Factory.cpp”. that´s incorrect. The description should say –>
If you want to change the log level, you need to define the following function inside the class definition for PluginFactory:
I drag it from bottom of “Factory.cpp” to inside Class PluginFactory.
Now it works as expected !!!