企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] > [github](https://github.com/nette/tracy) ## 概述 启动 ``` <?php use Tracy\Debugger; use Tracy\ILogger; require 'vendor/autoload.php'; Debugger::enable(Debugger::$productionMode); //黑色主题 Debugger::$dumpTheme = 'dark'; // 设置日志的目录 mkdir(__DIR__.'/log'); Debugger::$logDirectory = __DIR__ . '/log'; Debugger::$logSeverity = E_NOTICE | E_WARNING; Debugger::log("asdad", ILogger::INFO); // dump dump("asd"); Debugger::dump(['a' => 'b']); ``` ![](https://img.kancloud.cn/28/ec/28ec1575efcdb5b48ad5aad3e2a5c2d5_1064x787.png)