💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# LogWarning `LogWarning(Message, [From])` `Message`-`{String}` `From`-`{String}` *可选* 记录警告(即使使用`EnableLogging`禁用日志记录),其中包含消息来源的可选位置。 在向VBA-Web编写扩展时很有用(比如`IWebAuthenticator`). ~~~vb WebHelpers.LogWarning "Something could go wrong" '// -> WARNING - VBA-Web: Something could go wrong WebHelpers.LogWarning "Something could go wrong", "Module.Function" '// -> WARNING - Module.Function: Something could go wrong ~~~