| // Copyright 2020 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CROSLOG_LOG_PARSER_SYSLOG_H_ |
| #define CROSLOG_LOG_PARSER_SYSLOG_H_ |
| |
| #include "croslog/log_parser.h" |
| |
| #include <string> |
| |
| namespace croslog { |
| |
| class LogParserSyslog : public LogParser { |
| public: |
| LogParserSyslog(); |
| |
| MaybeLogEntry Parse(std::string&& entire_line) override; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(LogParserSyslog); |
| }; |
| |
| } // namespace croslog |
| |
| #endif // CROSLOG_LOG_PARSER_SYSLOG_H_ |