mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Avoid duplicate fatal stderr output in GUI mode
This commit is contained in:
parent
d0194c3aff
commit
ecb12ee92c
6 changed files with 51 additions and 18 deletions
|
|
@ -70,6 +70,11 @@ is escaped to \\\\.
|
|||
Some tags are output only when the \`\-\-gui\` or \`\-\-gui\-verbose\` option
|
||||
is used. They provide extra verbose state and runtime progress only
|
||||
useful for a GUI interface.
|
||||
In GUI mode, the structured log is intended to be consumed by the GUI.
|
||||
Fatal errors are therefore not duplicated to standard error when they
|
||||
are successfully written to the log. If the log is unavailable or
|
||||
writing it fails, the fatal error is printed to standard error as a
|
||||
fallback.
|
||||
.PP
|
||||
Integer values are marked as \`uint\` when they are unsigned and as \`int\`
|
||||
when they are signed. However, for practical purposes you can treat
|
||||
|
|
|
|||
|
|
@ -50,6 +50,11 @@ Description
|
|||
Some tags are output only when the `--gui` or `--gui-verbose` option
|
||||
is used. They provide extra verbose state and runtime progress only
|
||||
useful for a GUI interface.
|
||||
In GUI mode, the structured log is intended to be consumed by the GUI.
|
||||
Fatal errors are therefore not duplicated to standard error when they
|
||||
are successfully written to the log. If the log is unavailable or
|
||||
writing it fails, the fatal error is printed to standard error as a
|
||||
fallback.
|
||||
|
||||
Integer values are marked as `uint` when they are unsigned and as `int`
|
||||
when they are signed. However, for practical purposes you can treat
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ The following characters are escaped into sequences:
|
|||
Some tags are output only when the `--gui` or `--gui-verbose` option
|
||||
is used. They provide extra verbose state and runtime progress only
|
||||
useful for a GUI interface.
|
||||
In GUI mode, the structured log is intended to be consumed by the GUI.
|
||||
Fatal errors are therefore not duplicated to standard error when they
|
||||
are successfully written to the log. If the log is unavailable or
|
||||
writing it fails, the fatal error is printed to standard error as a
|
||||
fallback.
|
||||
|
||||
Integer values are marked as `uint` when they are unsigned and as `int`
|
||||
when they are signed. However, for practical purposes you can treat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue