Go to the documentation of this file.
   17 #ifndef __BUSBOY_ALGORITHM_CONTEXT_H__ 
   18 #define __BUSBOY_ALGORITHM_CONTEXT_H__ 
   32 #define BUSBOY_ALGO_LOG_CPP(context, level, msg) { \ 
   33         std::ostringstream _ss; \ 
   35         (context).log( __FILE__, __LINE__, level, _ss.str()); \ 
   44 #define BUSBOY_ALGO_LOG_C(context, level, format, args...) { \ 
   45         (context).log( __FILE__, __LINE__, level, format, ##args); \ 
   50 class AlgorithmContextImpl;
 
   72                 void log(
const std::string& file, 
int line, 
Logger::LogLevel level, 
const char* format, ...);
 
   82                 void log( 
const std::string& file, 
int line, 
Logger::LogLevel level, 
const std::string& msg);
 
   87                 void progress(
float percentDone, 
const char* format, ...);
 
   92                 void progress(
float percentDone, 
const std::string& msg);
 
  
Copyright 2014 Google Inc. All rights reserved.