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 | |
Stephan Pleines | d99b1ee | 2024-02-02 20:56:44 -0800 | [diff] [blame] | 6 | namespace aos::seasocks { |
Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame] | 7 | |
| 8 | class SeasocksLogger : public ::seasocks::PrintfLogger { |
| 9 | public: |
| 10 | SeasocksLogger(::seasocks::Logger::Level min_level_to_log) |
| 11 | : PrintfLogger(min_level_to_log) {} |
| 12 | void log(::seasocks::Logger::Level level, const char *message) override; |
| 13 | }; |
| 14 | |
Stephan Pleines | d99b1ee | 2024-02-02 20:56:44 -0800 | [diff] [blame] | 15 | } // namespace aos::seasocks |
Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame] | 16 | |
| 17 | #endif // AOS_SEASOCKS_SEASOCKS_LOGGER_H_ |