【发布时间】:2023-11-28 14:37:01
【问题描述】:
我有一个 Silverstripe 3.1 网站正在开发中,并希望将消息写入默认日志文件 - silverstripe.log
这是我们用来向屏幕输出变量或消息的:
Debug::show($variable);
Debug::message("Debug message goes here");
将这些输出到 silverstripe.log 文件的最简单方法是什么?我一直在查看文档,但找不到正确的方法:http://doc.silverstripe.com/framework/en/topics/debugging
【问题讨论】:
标签: php silverstripe