Improve syslog parsing; Implement basic main loop.

This commit is contained in:
Marko Zivanovic
2015-09-02 17:01:01 +02:00
parent 13d5266c37
commit a7ee585a9e
11 changed files with 107 additions and 30 deletions
+2 -2
View File
@@ -30,10 +30,10 @@ SOFTWARE.
class Severity {
public:
Severity(const char* src) : Severity(std::string(src)) {
Severity(const std::string& src) : _value(readFromString(src)) {
};
Severity(const std::string& src) : _value(readFromString(src)) {
Severity(const char* src) : Severity(std::string(src)) {
};
Severity(std::istream& source) : Severity(readFromStream(source)) {