Beispiel #1
0
 void getLoggingMethods(FB::Log::LogMethodList& outMethods) {
   // The next line will enable logging to the console (think: printf).
   outMethods.push_back(
       std::make_pair(FB::Log::LogMethod_Console, std::string()));
   // The next line will enable logging to a logfile.
   outMethods.push_back(
       std::make_pair(FB::Log::LogMethod_File, "/Users/xzhang/cmpt/chrome/log"));
   // Obviously, if you use both lines, you will get output on both sinks.
 }
Beispiel #2
0
 // Set FireBreath's log methods
 void getLoggingMethods(FB::Log::LogMethodList& outMethods)
 {
     outMethods.push_back(std::make_pair(FB::Log::LogMethod_Console, std::string()));
 }
Beispiel #3
0
void FB::FactoryBase::getLoggingMethods( FB::Log::LogMethodList& outMethods )
{
#ifndef NDEBUG
    outMethods.push_back(std::make_pair(FB::Log::LogMethod_Console, std::string()));
#endif
}
Beispiel #4
0
 void getLoggingMethods( FB::Log::LogMethodList& outMethods )
 {
     outMethods.push_back(std::make_pair(FB::Log::LogMethod_File, "/tmp/trezor.log"));
 }