Logger class which contains static functions to use ffmpeg/libav log system.  
 More...
#include <log.hpp>
 | 
| static void  | setLogLevel (const int level) | 
|   | Set the log level of ffmpeg/libav.  More...
  | 
|   | 
| static void  | log (const int level, const std::string &msg) | 
|   | Log with the ffmpeg/libav log system.  More...
  | 
|   | 
| static void  | logInFile () | 
|   | Log ffmpeg/libav and avtranscoder informations in a text file.  More...
  | 
|   | 
Logger class which contains static functions to use ffmpeg/libav log system. 
Definition at line 43 of file log.hpp.
 
  
  
      
        
          | void avtranscoder::Logger::log  | 
          ( | 
          const int  | 
          level,  | 
         
        
           | 
           | 
          const std::string &  | 
          msg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Log with the ffmpeg/libav log system. 
- Note
 - you can use macro LOG_* to log at DEBUG/INFO/WARN/ERROR level 
 
- Parameters
 - 
  
    | msg | the message will be prefixed by '[avTranscoder - <level>]'  | 
    | msg | the message will be suffixed by ' 
'  | 
  
   
Definition at line 31 of file log.cpp.
 
 
  
  
      
        
          | void avtranscoder::Logger::logInFile  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | void avtranscoder::Logger::setLogLevel  | 
          ( | 
          const int  | 
          level | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Set the log level of ffmpeg/libav. 
- Parameters
 - 
  
    | level | refer to define AV_LOG_xxx (from AV_LOG_QUIET to AV_LOG_DEBUG)  | 
  
   
- Note
 - By default AV_LOG_INFO 
 
- See also
 - SWIG interface avLogLevel.i 
 
Definition at line 26 of file log.cpp.
Referenced by main().
 
 
  
  
      
        
          | std::string avtranscoder::Logger::logHeaderMessage = "" | 
         
       
   | 
  
staticprivate   | 
  
 
First caracters present for each logging message. 
Definition at line 69 of file log.hpp.
 
 
The documentation for this class was generated from the following files:
- /datas/cnt/workspace/avTranscoder/src/AvTranscoder/log.hpp
 
- /datas/cnt/workspace/avTranscoder/src/AvTranscoder/log.cpp