diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-01 22:21:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-01 22:21:57 +0800 |
| commit | 899e109f6ef3a32c25f75aec5690bb800c3466ac (patch) | |
| tree | 98eb5bae5a40d41f891ffa67f92561c91df14b60 /locales/help_docs | |
| parent | f28a6f1f3460252a7e7fe4b8e4a1ef150e587f38 (diff) | |
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
Diffstat (limited to 'locales/help_docs')
| -rw-r--r-- | locales/help_docs/en.yml | 12 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 12 |
2 files changed, 24 insertions, 0 deletions
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: | diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index e6bdfc7..82ae6af 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -114,6 +114,18 @@ jvv: 服务端被错误强制关闭! 错误信息:%{error} + wtf_show_log_and_no_log: | + 您无法同时选择显示和不显示输出信息! + + “ + 这让我想起那个古老的寓言:一位卖矛和盾的商人,先是夸口他的盾‘任何矛都刺不穿’, + 接着又宣称他的矛 ‘能刺穿任何盾’。当被问到 ’用你的矛刺你的盾会怎样’ 时,他哑口无言。 + ” + + 您的指令就像这则故事,既要显示日志,又要不显示日志。我该遵循哪个矛盾的命令呢? + + **提示**:使用 `jvv listen --no-log` 或 `jvv listen --show-log` 覆盖默认 Logger 设置运行 + success: here: info: | |
