Sejil 1.0.0-beta3
See the version list below for details.
dotnet add package Sejil --version 1.0.0-beta3
NuGet\Install-Package Sejil -Version 1.0.0-beta3
<PackageReference Include="Sejil" Version="1.0.0-beta3" />
paket add Sejil --version 1.0.0-beta3
#r "nuget: Sejil, 1.0.0-beta3"
// Install Sejil as a Cake Addin #addin nuget:?package=Sejil&version=1.0.0-beta3&prerelease // Install Sejil as a Cake Tool #tool nuget:?package=Sejil&version=1.0.0-beta3&prerelease
Sejil
Sejil is a library that enables you to capture, view and filter your ASP.net core app's log events right from your app. It supports structured logging, querying as well as saving log event queries.
Quick Links
Getting started
Installing Sejil package
Install-Package -IncludePrerelease Sejil
Adding code
For ASP.net Core 1.x.x, add below code to Program.cs:
public static void Main(string[] args) { var host = new WebHostBuilder() .AddSejil("/sejil", LogLevel.Debug) // ... }
For ASP.net core 2.x.x, add below code to Program.cs:
public static IWebHost BuildWebHost(string[] args) => WebHost.CreateDefaultBuilder(args) .AddSejil("/sejil", LogLevel.Debug) // ...
Add below code to Startup.cs
using Sejil; public class Startup { public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseSejil(); // ... } }
Navigate to http://your-app-url/sejil to view your app's logs.
Features and Screenshots
View your app's logs
<img src="./assets/001-screenshot-main_opt.jpg" width="800">
View properties specific to a certain log entry
<img src="./assets/002-screenshot-properties_opt.jpg" width="800">
Query your logs
<img src="./assets/003-screenshot-query_opt.jpg" width="800">
Mix multiple filters with your query to further limit the results
<img src="./assets/004-screenshot-query-and-filter_opt.jpg" width="800">
Save your queries for later use
<img src="./assets/005-screenshot-save-query_opt.jpg" width="800">
Load your saved queries
<img src="./assets/006-screenshot-load-query_opt.jpg" width="800">
Building
To build the project, you just need to clone the repo then run the build command:
git clone https://github.com/alaatm/Sejil.git
cd ./Sejil
./build.ps1 # If running Windows
./build.sh # If running Linux/OSX
You can run one of the sample apps afterwards, Sample1.0
targets netcoreapp1.1
while Sample2.0
targets netcoreapp2.0
:
cd ./sample/Sample2.0
dotnet run
License
Copyright © Alaa Masoud.
This project is provided as-is under the Apache 2.0 license. For more information see the LICENSE file.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.6
- Dapper (>= 1.50.2)
- Microsoft.AspNetCore.Hosting (>= 1.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 1.0.0)
- Microsoft.AspNetCore.Routing (>= 1.0.0)
- Microsoft.Data.Sqlite (>= 1.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 10.0.3)
- Serilog (>= 2.5.0)
- Serilog.Extensions.Logging (>= 2.0.0)
- Serilog.Sinks.PeriodicBatching (>= 2.1.1)
-
.NETStandard 2.0
- Ben.Demystifier (>= 0.0.6)
- Dapper (>= 1.50.2)
- Microsoft.AspNetCore.Hosting (>= 2.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.0.0)
- Microsoft.AspNetCore.Routing (>= 2.0.0)
- Microsoft.Data.Sqlite (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0)
- Newtonsoft.Json (>= 10.0.3)
- Serilog (>= 2.5.0)
- Serilog.Extensions.Logging (>= 2.0.0)
- Serilog.Sinks.PeriodicBatching (>= 2.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.4 | 5,139 | 11/10/2021 |
3.0.3 | 6,949 | 11/11/2020 |
3.0.2 | 489 | 11/10/2020 |
3.0.1 | 516 | 11/9/2020 |
3.0.0 | 676 | 11/9/2020 |
2.0.0-beta1 | 1,218 | 9/6/2019 |
1.0.1-beta1 | 2,451 | 2/2/2019 |
1.0.0-beta9 | 646 | 1/12/2019 |
1.0.0-beta8 | 643 | 1/7/2019 |
1.0.0-beta7 | 611 | 1/6/2019 |
1.0.0-beta6 | 11,137 | 8/30/2018 |
1.0.0-beta5 | 985 | 5/28/2018 |
1.0.0-beta4 | 830 | 1/30/2018 |
1.0.0-beta3 | 902 | 12/21/2017 |
1.0.0-beta2 | 902 | 9/20/2017 |
1.0.0-beta10 | 579 | 2/2/2019 |
1.0.0-beta1 | 781 | 8/14/2017 |