This commit is contained in:
Zeeshaun
2026-03-17 08:54:34 -05:00
parent 64856c640e
commit cdcba54aa4
330 changed files with 54110 additions and 0 deletions
@@ -0,0 +1,32 @@
using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components;
using Serilog;
namespace ReserveManagementSystemUI.Pages
{
public partial class Test
{
[Inject]
IToastService ToastService { get; set; }
private void TestSeqError()
{
Log.Error("Test error logging from RMS");
ToastService.ShowSuccess("Logged Error");
}
private void TestSeqInfo()
{
Log.Information("Test information logging from RMS");
ToastService.ShowSuccess("Logged Information");
}
private void TestSeqWarn()
{
Log.Warning("Test warning logging from RMS");
ToastService.ShowSuccess("Logged Warning");
}
}
}