From 899e109f6ef3a32c25f75aec5690bb800c3466ac Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 1 Dec 2025 22:21:57 +0800 Subject: Add --show-log flag and refactor vault setup - Add `--show-log` flag to override profile logger setting - Add validation for conflicting `--no-log` and `--show-log` flags - Refactor `Vault::setup_vault` to accept vault name parameter - Update logger initialization to respect configured log level - Add new dependencies: `whoami`, `redox_syscall`, `wasite`, `web-sys` - Add error message for conflicting log flags in locales --- locales/help_docs/en.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'locales/help_docs/en.yml') diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 25c2f7f..08bd95d 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -117,6 +117,18 @@ jvv: Server forced to close due to error! Error message: %{error} + wtf_show_log_and_no_log: | + You cannot both show and hide log output at the same time! + + " + This reminds me of the old saying: 'You can't have your cake and eat it too.' + Or perhaps the classic logical puzzle: 'This statement is false.' + " + + Your command is a paradox: show the logs, and do not show the logs. Which contradictory order should I follow? + + **Tip**: Use `jvv listen --no-log` or `jvv listen --show-log` to override the default Logger setting. + success: here: info: | -- cgit