File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/Symfony/Bundle/TwigBundle/Resources/views Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2929 {{ log .channel }}
3030 </td >
3131 {% endif %}
32- <td >{{ log .message | format_log_message(log .context ) }}</td >
32+ <td >
33+ {{ log .message | format_log_message(log .context ) }}
34+ {% if log .context ?? false %}
35+ <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 >
36+ {% endif %}
37+ </td >
3338 </tr >
3439 {% endfor %}
3540 </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
1717table th, table td { border: solid #E0E0E0; border-width: 1px 0; padding: 8px 10px; }
1818table th { background-color: #E0E0E0; font-weight: bold; text-align: left; }
1919
20+ .m-t-5 { margin-top: 5px; }
2021.hidden-xs-down { display: none; }
2122.block { display: block; }
2223.hidden { display: none; }
24+ .prewrap { white-space: pre-wrap; }
2325.nowrap { white-space: nowrap; }
2426.newline { display: block; }
2527.break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; min-width: 0; }
You can’t perform that action at this time.
0 commit comments