diff options
author | Gabe Black <gabeblack@google.com> | 2017-11-30 16:17:06 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-12-04 23:10:29 +0000 |
commit | 86f18f26fc7223cc8a63a792d2be1267f573f97c (patch) | |
tree | 5315ed3fa90afc9df209f563336c33c34a57dd50 /src/base/misc.hh | |
parent | 4b04e3893a098044b4f46dbff0ff060260e86ca6 (diff) | |
download | gem5-86f18f26fc7223cc8a63a792d2be1267f573f97c.tar.xz |
misc: Move the ExitLogger class definition into misc.cc
This class isn't referred to outside of misc.hh, and isn't necessarily
useful outside of the particular logging setup implemented in misc.cc.
The Logger class itself is different since it provides a generic
interface that can be used with different logging schemes.
Change-Id: Ibae926fea039d9e3d75a43d97348bc4a3c5d555e
Reviewed-on: https://gem5-review.googlesource.com/6225
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/base/misc.hh')
-rw-r--r-- | src/base/misc.hh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/base/misc.hh b/src/base/misc.hh index a731c7607..7b0d46274 100644 --- a/src/base/misc.hh +++ b/src/base/misc.hh @@ -125,15 +125,6 @@ class Logger const char *prefix; }; -class ExitLogger : public Logger -{ - public: - using Logger::Logger; - - void printEpilogue(const char *func, const char *file, int line, - const char *format) override; -}; - #define exit_message(logger, code, ...) \ do { \ logger.print(__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); \ |