On 03/28/2012 03:22 PM, david@lang.hm wrote:
On Wed, 28 Mar 2012, Gergely Nagy wrote:
The difference is in the API, not in the underlying structures in which you store the result.
Template-based would be something like: foo_log ("%(message) %(whatever)", msg, whatever);
While the same thing with 4 would look somewhat like: foo_log ("message", STRING, msg, "whatever", STRING, whatever, NULL);
The structure you end up with might very well be the same underneath, but the API is much different.
actually, I was seeing the structure one being more like
e=create_structure(); various commands to add nodes to the tree pointed at by 'e' foo_log(e);
the point being that e is not just a list of name/type/value tuples, but it is a hierarchical tree structure.
Agree but one does not preclude another.
David Lang _______________________________________________ lumberjack-developers mailing list lumberjack-developers@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/lumberjack-developers