File tree 2 files changed +8
-1
lines changed
src/Symfony/Bundle/TwigBundle/Resources/views
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 21
21
{{ log .channel }}
22
22
</td >
23
23
{% endif %}
24
- <td >{{ log .message | format_log_message(log .context ) }}</td >
24
+ <td >
25
+ {{ log .message | format_log_message(log .context ) }}
26
+ {% if log .context ?? false %}
27
+ <pre class =" text-muted prewrap m-t-5" >{{ log .context | json_encode(constant (' JSON_PRETTY_PRINT' ) b-or constant (' JSON_UNESCAPED_UNICODE' ) b-or constant (' JSON_UNESCAPED_SLASHES' )) }}</pre >
28
+ {% endif %}
29
+ </td >
25
30
</tr >
26
31
{% endfor %}
27
32
</tbody >
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ table { background: #FFF; border: 1px solid #E0E0E0; box-shadow: 0px 0px 1px rgb
17
17
table th, table td { border: solid #E0E0E0; border-width: 1px 0; padding: 8px 10px; }
18
18
table th { background-color: #E0E0E0; font-weight: bold; text-align: left; }
19
19
20
+ .m-t-5 { margin-top: 5px; }
20
21
.hidden-xs-down { display: none; }
21
22
.block { display: block; }
22
23
.hidden { display: none; }
24
+ .prewrap { white-space: pre-wrap; }
23
25
.nowrap { white-space: nowrap; }
24
26
.newline { display: block; }
25
27
.break-long-words { -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
You can’t perform that action at this time.
0 commit comments