clodeindustrie/silverstripe-consoler
最新稳定版本:v1.0.1
Composer 安装命令:
composer require clodeindustrie/silverstripe-consoler
包简介
Debug to your browser console
关键字:
README 文档
README
Print debug statements from your backend to your browser console.
Installation
composer require --dev silverstripe-consoler
NB: By default, it is configured to be enabled only in dev environment. Along with installing it as a required-dev package, this should avoid accidentally leaking data in a production environment.
Documentation
The package is namespaced clodeindustrie/silverstripe-consoler however, the class is namespaced clie/Consoler that way it is bit easier to user directly in any class without having to use ... it at the top the file.
// Print strings \Clie\Consoler::log('This is a debugging statement'); // Print Arrays \Clie\Consoler::log([ "my-key" => "my-value"]); // Print DataObjects \Clie\Consoler::log(Member::get()->first());
统计信息
- 总下载量: 1.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-08-26
