diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-20 17:38:18 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-20 18:26:45 +0100 |
commit | 8bd111c942d0d8d2c65369db8f2623eadef54c1e (patch) | |
tree | 1abe84932d9acae2d2cd85e7c508e0f597ff7394 /CommonLibs/Logger.h | |
parent | 3808e479aa1d1be6bfb1320aa4a7202a14db3ae8 (diff) |
Logger: get rid of alarm APIs
It's only used internally inside the Logger module, and in case there's
an "alarm" (level more than critical) we still print on cerr, so we can
just rely on our system catching stderr instead of stdout to handle it.
Change-Id: I6d6df1578c3a4c1a37bd0d69952d443f62eed2ab
Diffstat (limited to 'CommonLibs/Logger.h')
-rw-r--r-- | CommonLibs/Logger.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CommonLibs/Logger.h b/CommonLibs/Logger.h index ef11932..7b208fa 100644 --- a/CommonLibs/Logger.h +++ b/CommonLibs/Logger.h @@ -103,10 +103,6 @@ class Log { extern bool gLogToConsole; // Output log messages to stdout extern bool gLogToSyslog; // Output log messages to syslog - - -std::list<std::string> gGetLoggerAlarms(); ///< Get a copy of the recent alarm list. - const std::string timestr(); // A timestamp to print in messages. std::ostream& operator<<(std::ostream& os, std::ostringstream& ss); |