Go to the source code of this file.
 | 
| namespace   | rack | 
|   | Root namespace for the Rack API. 
  | 
| namespace   | rack::logger | 
|   | Logs messages to a file or the terminal. 
  | 
 | 
| #define  | DEBUG(format, ...) | 
|   | Example usage:  
  | 
| #define  | INFO(format, ...) | 
| #define  | WARN(format, ...) | 
| #define  | FATAL(format, ...) | 
◆ DEBUG
      
        
          | #define DEBUG | 
          ( | 
           |           format,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
Value:
@ DEBUG_LEVEL
Definition logger.hpp:28
 
 
Example usage: 
DEBUG("error: %d", errno);
will print something like 
[0.123 debug myfile.cpp:45] error: 67
 
 
 
◆ INFO
      
        
          | #define INFO | 
          ( | 
           |           format,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
Value:
@ INFO_LEVEL
Definition logger.hpp:29
 
 
 
 
◆ WARN
      
        
          | #define WARN | 
          ( | 
           |           format,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
Value:
@ WARN_LEVEL
Definition logger.hpp:30
 
 
 
 
◆ FATAL
      
        
          | #define FATAL | 
          ( | 
           |           format,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
Value:
@ FATAL_LEVEL
Definition logger.hpp:31