assorted problems with error/debug handling

Bug #697746 reported by cpb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libECBUFR
Fix Committed
Low
cpb

Bug Description

Trying to embed LibECBUFR in various programs can be a bit tricky. First, it has a default "write to stdout" for various kinds of messages. This really sucks if stdout is being used for other things like a web page.

Second, there's no concept of error classification (i.e. warning, error, etc).

Revision history for this message
cpb (chris-beauregard) wrote :

The error classification stuff is harder to do since it really requires a whole new output/tracing approach. The "write to stdout" is just a matter of adding output and debug callback handlers (like abort).

Revision history for this message
cpb (chris-beauregard) wrote :

Output issues fixed by r165. Error classification logic would be a whole other level of complicated and require revamping just about every message. I'd suggest looking into an external logging/tracing library before tackling that (i.e. nana, libdebug, etc).

Changed in libecbufr:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → cpb (chris-beauregard)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.