doy / runes

a modern terminal client
Other
35 stars 1 forks source link

Abstract printing to stderr #44

Closed dolmen closed 10 years ago

dolmen commented 10 years ago

In parser.l (at least) stderr is used to log errors. Unfortunately stderr is not available in Windows GUI applications.

So it would be helpful for portability to have a logging API that would output to stderr on most platforms, but could also be directed elsewhere (for example, memory), at least at compile time.

doy commented 10 years ago

Done in 1638a5e - we can add additional logging targets as it becomes necessary.