Terminal logger.  
 More...
#include <Console.hh>
Inherits ostream.
§ LogType
Output destination type. 
| Enumerator | 
|---|
| STDOUT  | Output to stdout.  
 | 
| STDERR  | Output to stderr.  
 | 
 
 
§ Logger()
      
        
          | Logger  | 
          ( | 
          const std::string &  | 
          _prefix,  | 
        
        
           | 
           | 
          int  | 
          _color,  | 
        
        
           | 
           | 
          LogType  | 
          _type  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | [in] | _prefix | String to use as prefix when logging to file.  | 
    | [in] | _color | Color of the output stream.  | 
    | [in] | _type | Output destination type (STDOUT, or STDERR)  | 
  
   
 
 
§ ~Logger()
§ operator()() [1/2]
  
  
      
        
          | virtual Logger& operator()  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Access operator. 
- Returns
 - Reference to this logger. 
 
 
 
§ operator()() [2/2]
  
  
      
        
          | virtual Logger& operator()  | 
          ( | 
          const std::string &  | 
          _file,  | 
         
        
           | 
           | 
          int  | 
          _line  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Output a filename and line number, then return a reference to the logger. 
- Parameters
 - 
  
    | [in] | _file | Filename to output.  | 
    | [in] | _line | Line number in the _file.  | 
  
   
- Returns
 - Reference to this logger. 
 
 
 
§ color
The documentation for this class was generated from the following file: