diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-09-28 20:26:15 +0200 |
---|---|---|
committer | Rodrigo <rodarima@gmail.com> | 2025-09-28 23:10:55 +0200 |
commit | fb510ea86be5ceb9e91573890242581fdbd77ad8 (patch) | |
tree | d819fe40683592008d136727f5a0b03e48dc1164 /213/index.md |
Diffstat (limited to '213/index.md')
-rw-r--r-- | 213/index.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/213/index.md b/213/index.md new file mode 100644 index 0000000..648a47a --- /dev/null +++ b/213/index.md @@ -0,0 +1,22 @@ +Title: Improve message reporting +Author: rodarima +Created: Sat, 06 Jul 2024 17:29:12 +0000 +State: open + +The current way in which Dillo reports problems is divided into several categories: + +- HTML bugs go to the bug window. +- Errors, warnings and other informational messages go to the standard output/error. +- Some information messages go to the status bar. +- Debug messages are commented and only enabled by manually changing the code. + +This ends up in a non clean console output, as well as users missing any important message when they don't open Dillo from a console. + +On the other hand, it is important that we continue to have a simple standard error/output method of reporting problems, as a crash will cause the error console to be inaccesible. + +So I suggest we do the following: + +- Always compile all messages execept those debug messages that may be in a critical path and may affect a lot the performance (unlikely), +- Allow the bug window (or another window) to receive messages from diferent parts of the code. +- Let the user filter messages in the console window by severity (error, warning, info, debug). +- By default, propagate error messages to the stderr too (allowing the user to increase the verbosity)
\ No newline at end of file |