Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9679721e
Commit
9679721e
authored
Jun 09, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes display of array log messages in debug toolbar
fixes #3244
parent
efbd23b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
detail.php
extensions/debug/views/default/panels/log/detail.php
+2
-3
CHANGELOG.md
framework/CHANGELOG.md
+3
-0
No files found.
extensions/debug/views/default/panels/log/detail.php
View file @
9679721e
<?php
<?php
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\grid\GridView
;
use
yii\grid\GridView
;
use
yii\helpers\VarDumper
;
use
yii\log\Logger
;
use
yii\log\Logger
;
?>
?>
...
@@ -51,8 +52,7 @@ echo GridView::widget([
...
@@ -51,8 +52,7 @@ echo GridView::widget([
[
[
'attribute'
=>
'message'
,
'attribute'
=>
'message'
,
'value'
=>
function
(
$data
)
{
'value'
=>
function
(
$data
)
{
$message
=
nl2br
(
Html
::
encode
(
$data
[
'message'
]));
$message
=
Html
::
encode
(
is_string
(
$data
[
'message'
])
?
$data
[
'message'
]
:
VarDumper
::
export
(
$data
[
'message'
]));
if
(
!
empty
(
$data
[
'trace'
]))
{
if
(
!
empty
(
$data
[
'trace'
]))
{
$message
.=
Html
::
ul
(
$data
[
'trace'
],
[
$message
.=
Html
::
ul
(
$data
[
'trace'
],
[
'class'
=>
'trace'
,
'class'
=>
'trace'
,
...
@@ -61,7 +61,6 @@ echo GridView::widget([
...
@@ -61,7 +61,6 @@ echo GridView::widget([
}
}
]);
]);
};
};
return
$message
;
return
$message
;
},
},
'format'
=>
'html'
,
'format'
=>
'html'
,
...
...
framework/CHANGELOG.md
View file @
9679721e
...
@@ -58,6 +58,7 @@ Yii Framework 2 Change Log
...
@@ -58,6 +58,7 @@ Yii Framework 2 Change Log
-
Enh #3222: Added
`useTablePrefix`
option to the model generator for Gii (horizons2)
-
Enh #3222: Added
`useTablePrefix`
option to the model generator for Gii (horizons2)
-
Enh #3230: Added
`yii\filters\AccessControl::user`
to support access control with different actors (qiangxue)
-
Enh #3230: Added
`yii\filters\AccessControl::user`
to support access control with different actors (qiangxue)
-
Enh #3232: Added
`export()`
and
`exportAsString()`
methods to
`yii\helpers\BaseVarDumper`
(klimov-paul)
-
Enh #3232: Added
`export()`
and
`exportAsString()`
methods to
`yii\helpers\BaseVarDumper`
(klimov-paul)
-
Enh #3244: Allow logging complex data such as arrays and object via the log system (cebe)
-
Enh #3252: Added support for case insensitive matching using ILIKE to PostgreSQL QueryBuilder (cebe)
-
Enh #3252: Added support for case insensitive matching using ILIKE to PostgreSQL QueryBuilder (cebe)
-
Enh #3284: Added support for checking multiple ETags by
`yii\filters\HttpCache`
(qiangxue)
-
Enh #3284: Added support for checking multiple ETags by
`yii\filters\HttpCache`
(qiangxue)
-
Enh #3298: Supported configuring
`View::theme`
using a class name (netyum, qiangxue)
-
Enh #3298: Supported configuring
`View::theme`
using a class name (netyum, qiangxue)
...
@@ -105,6 +106,8 @@ Yii Framework 2 Change Log
...
@@ -105,6 +106,8 @@ Yii Framework 2 Change Log
-
Chg:
`yii\data\ActiveDataProvider::$query`
will not be modified directly with pagination and sorting anymore so it will be reuseable (cebe)
-
Chg:
`yii\data\ActiveDataProvider::$query`
will not be modified directly with pagination and sorting anymore so it will be reuseable (cebe)
-
Chg: Removed
`yii\rest\ActiveController::$transactional`
property and connected functionality (samdark)
-
Chg: Removed
`yii\rest\ActiveController::$transactional`
property and connected functionality (samdark)
-
Chg: Changed the default value of the
`keyPrefix`
property of cache components to be null (qiangxue)
-
Chg: Changed the default value of the
`keyPrefix`
property of cache components to be null (qiangxue)
-
Chg: Added
`prefix`
column to
`yii\log\DbTarget`
to have the same amount of information logged as in files and emails (cebe)
2.0.0-beta April 13, 2014
2.0.0-beta April 13, 2014
-------------------------
-------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment