Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame] | 1 | #ifndef AOS_SEASOCKS_SEASOCKS_LOGGER_H_ |
| 2 | #define AOS_SEASOCKS_SEASOCKS_LOGGER_H_ |
| 3 | |
| 4 | #include "seasocks/PrintfLogger.h" |
| 5 | |
| 6 | namespace aos { |
| 7 | namespace seasocks { |
| 8 | |
| 9 | class SeasocksLogger : public ::seasocks::PrintfLogger { |
| 10 | public: |
| 11 | SeasocksLogger(::seasocks::Logger::Level min_level_to_log) |
| 12 | : PrintfLogger(min_level_to_log) {} |
| 13 | void log(::seasocks::Logger::Level level, const char *message) override; |
| 14 | }; |
| 15 | |
| 16 | } // namespace seasocks |
| 17 | } // namespace aos |
| 18 | |
| 19 | #endif // AOS_SEASOCKS_SEASOCKS_LOGGER_H_ |