-
If I have a "gui" Windows app that doesn't get any console attached at startup, but does get arguments from the However, since there is no console, all output, for example, from But I do have a custom logger that logs to a different target than stdout (i.e., some SimpleLogger type redirecting to Windows Is there a way to ask Clap to use this custom logger instead of the default stdout target? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Help is reported up as an error. You could use a |
Beta Was this translation helpful? Give feedback.
Help is reported up as an error. You could use a
try_
variant of a parser function so you can check the error, see if itsuse_stderr
or if theErrorKind
is for help, and then print it a custom way.