Skip to content

Doc config

Bart van Hoekelen edited this page Apr 26, 2017 · 9 revisions

Tables of contents


How to set or get a config item

// Add namespace at the top
use Performance\Config;

// Set config item
Config::setConsoleLive(true);

List of config items

Config item default explanation
Config::setConsoleLive() false Determined if the console results are live or not
Config::setPointLabelLTrim() false You can specify the left characters you want to strip form the point label
Config::setPointLabelRTrim() false You can specify the right characters you want to strip form the point label
Config::setEnableTool() true You can enable or disable the performance tool by boolean or ENV variable
Config::setQueryLog() false Track database events using the laravel query log
Config::setPresenter() auto Force to use specified presenter (web er console)
Config::setPointLabelNice() false Formate the point label to nice result
Clone this wiki locally