mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
@model LogDetailsModel
|
|
@{
|
|
ViewData["Title"] = "Log: " + Model.Id;
|
|
}
|
|
|
|
<h1>Log <small>@Model.Id</small></h1>
|
|
|
|
<h2>Information</h2>
|
|
<dl class="row">
|
|
<dt class="col-sm-4 col-lg-3">Id</dt>
|
|
<dd class="col-sm-8 col-lg-9"><code>@Model.Id</code></dd>
|
|
|
|
<dt class="col-sm-4 col-lg-3">Event Id Hash</dt>
|
|
<dd class="col-sm-8 col-lg-9">@Model.EventIdHash</dd>
|
|
|
|
<dt class="col-sm-4 col-lg-3">Timestamp</dt>
|
|
<dd class="col-sm-8 col-lg-9">@Model.Timestamp.ToString()</dd>
|
|
|
|
<dt class="col-sm-4 col-lg-3">Level</dt>
|
|
<dd class="col-sm-8 col-lg-9">@Model.Level</dd>
|
|
</dl>
|
|
|
|
<h2>Message</h2>
|
|
<pre style="max-height: 500px;">@Model.Message</pre>
|
|
|
|
@if(Model.Exception != null)
|
|
{
|
|
<h2>Exception</h2>
|
|
<pre style="max-height: 500px;">@Model.ExceptionToString(Model.Exception)</pre>
|
|
}
|
|
|
|
@if(Model.Properties != null && Model.Properties.Count > 0)
|
|
{
|
|
<h2>Properties</h2>
|
|
<dl class="row">
|
|
@foreach(var prop in Model.Properties)
|
|
{
|
|
<dt class="col-sm-4 col-lg-3">@prop.Key</dt>
|
|
<dd class="col-sm-8 col-lg-9">@(prop.Value?.ToString() ?? "-")</dd>
|
|
}
|
|
</dl>
|
|
}
|