Improve syslog parsing; Implement basic main loop.
This commit is contained in:
+2
-2
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user