mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 20:59:12 +08:00
Added more YII_ENV constants.
This commit is contained in:
@@ -150,7 +150,7 @@ class Logger extends Component
|
||||
{
|
||||
parent::init();
|
||||
if ($this->traceLevel === null) {
|
||||
$this->traceLevel = YII_ENV === 'dev' ? 3 : 0;
|
||||
$this->traceLevel = YII_ENV_DEV ? 3 : 0;
|
||||
}
|
||||
foreach ($this->targets as $name => $target) {
|
||||
if (!$target instanceof Target) {
|
||||
|
||||
Reference in New Issue
Block a user