Skip to content

Commit feb9eb3

Browse files
committed
le0pard#45 show session information on web
1 parent 310aa01 commit feb9eb3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/mongodb_logger/server/views/show_log.erb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,14 @@
102102
</div> <!-- unit -->
103103
</li>
104104
<% end %>
105+
<% unless @log['session'].blank? %>
106+
<li class="outer pvs phm">
107+
<div class="unit size1of5">
108+
<span class="pale">Session:</span>
109+
</div> <!-- unit -->
110+
<div class="unit size4of5">
111+
<pre><code><%= pretty_hash(@log['session']) %></code></pre>
112+
</div> <!-- unit -->
113+
</li>
114+
<% end %>
105115
</ul>

0 commit comments

Comments
 (0)