Validate Log object and raise if invalid