When creating a new stream, we check now that all log field have

supported types.

Also not reporting a run-time error anymore when logging to a stream
that hasn't been created; just fail silently as this may happen due to
other earlier errors.
This commit is contained in:
Robin Sommer 2011-03-09 19:20:06 -08:00
parent 5beee9e45e
commit de227b8d88
2 changed files with 53 additions and 1 deletions

View file

@ -54,6 +54,8 @@ struct LogVal {
bool Read(SerializationFormat* fmt);
bool Write(SerializationFormat* fmt) const;
static bool IsCompatibleType(BroType* t, bool atomic_only=false);
private:
LogVal(const LogVal& other) { }
};