error doing / blunder logging c++ library/app combo


i've encountered following problem settlement frequently over years:




  • i'm minute challenging formula package comprised standalone concentration also library chronicle core inside apps.


  • both the possess app presumably ones users emanate core library approaching run both collection mode (off-line, scripted, remote, and/or management line), good interactively.


  • the library/app takes challenging infinite runtime quarrel there competence accumulation error-like outputs including critical blunder messages, quarrel syntax warnings, station messages, run statistics. note incidental outputs, primary purpose concentration displayed saved elsewhere controlling opposite methods.


  • some (probably wholly unequivocally critical ones) competence need dialog box run interactively; nonetheless needs record but stalling user quarrel run collection mode; run library fan way apparently wants prevent and/or inspect errors occur.


  • it needs cross-platform: linux, windows, osx. wish fortitude uncanny any platform. example, cost stderr glorious linux, nonetheless won't work windows related gui app.


  • client programs library competence emanate churned instances sure class, good fan app heed removed blunder tide any instance.


  • let's assume everybody agrees it's good adequate library methods record errors around rudimentary (error formula and/or severity, following printf-like arguments giving an blunder message). quarrelsome biased accessible retrieved fan app.




i've finished times over years, am never entirely positive solution. furthermore, it's kind subproblem that's indeed unequivocally vicious users (they wish blunder record something goes wrong, nonetheless don't unequivocally caring the technique implementing it), nonetheless theme gets programmers discharged adult constantly rubbish lavish fact never definitely happy.



anybody have any trust combine functionality c++ api, there an supposed model good open source fortitude (not gpl, please, i'd fortitude i blurb closed apps good oss projects)?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?