diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-06-02 01:26:45 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-06-02 01:30:26 +0100 |
commit | 3ebe43eb75806990a402aafd5858de615d5c1cca (patch) | |
tree | 16edcb4b560520ad5225673e1a8ad45facc20c40 /TODO | |
parent | 74563bfb8c506150172b9bbf73d828372add3394 (diff) |
Solve the error logging situation
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO/.errmsg | 6 | ||||
-rw-r--r-- | TODO/errmsg | 11 |
2 files changed, 6 insertions, 11 deletions
diff --git a/TODO/.errmsg b/TODO/.errmsg new file mode 100644 index 0000000..aefe3fc --- /dev/null +++ b/TODO/.errmsg @@ -0,0 +1,6 @@ +Come up with a better error logging abstraction +==== +This is done, see errmsg.h. + +Because it's all format string nonsense to talk to the engine, it's mostly a +pile of macros, which is kind of wacky. But hey, it works. diff --git a/TODO/errmsg b/TODO/errmsg deleted file mode 100644 index 51b8aae..0000000 --- a/TODO/errmsg +++ /dev/null @@ -1,11 +0,0 @@ -Come up with a better error logging abstraction -==== -Something like the BSD err/warn/errx/warnx maybe, although taking into account -all the stupid Windows GetLastError differences too. As it stands, different -source files have different ways of prefixing messages, a lot of strings are -pretty redundant (would maybe be nice to have something closer to the DJB-style -concatenated string messages to solve that problem?), and almost nothing bothers -to include the actual system error string because doing so is currently doing -annoying. - -pls fix |