@namespace Oqtane.Modules.Admin.Logs @inherits ModuleBase @inject ILogService LogService @if (Logs == null) {

Loading...

} else {
Date Level Url Category Message
@context.LogDate @context.Level @context.Url @context.Category @context.Message
} @code { public override SecurityAccessLevel SecurityAccessLevel { get { return SecurityAccessLevel.Admin; } } List Logs; protected override async Task OnInitializedAsync() { Logs = await LogService.GetLogsAsync(PageState.Site.SiteId); } }