gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ExitLogger Class Reference

#include <misc.hh>

Inheritance diagram for ExitLogger:
Logger

Public Member Functions

void printEpilogue (const char *func, const char *file, int line, const char *format) override
 
- Public Member Functions inherited from Logger
 Logger (std::ostream &stream, const char *prefix)
 
virtual ~Logger ()
 
template<typename... Args>
void print (const char *func, const char *file, int line, const char *format, const Args &...args)
 
template<typename... Args>
void print (const char *func, const char *file, int line, const std::string &format, const Args &...args)
 

Additional Inherited Members

- Public Types inherited from Logger
enum  LogLevel {
  PANIC = 0, FATAL, WARN, INFO,
  HACK, NUM_LOG_LEVELS
}
 
- Static Public Member Functions inherited from Logger
static void setLevel (LogLevel ll)
 Set the active log level. More...
 
static Loggerget (LogLevel ll)
 Get a Logger corresponding to a specific log level. More...
 
- Public Attributes inherited from Logger
bool enabled
 
bool verbose
 
- Protected Attributes inherited from Logger
std::ostream & stream
 
const char * prefix
 

Detailed Description

Definition at line 128 of file misc.hh.

Member Function Documentation

void ExitLogger::printEpilogue ( const char *  func,
const char *  file,
int  line,
const char *  format 
)
overridevirtual

Reimplemented from Logger.

Definition at line 108 of file misc.cc.

References ccprintf(), memUsage(), Logger::printEpilogue(), and Logger::stream.


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:10 for gem5 by doxygen 1.8.6