Sejil 1.0.0-beta3

This is a prerelease version of Sejil.
There is a newer version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sejil" Version="1.0.0-beta3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sejil --version 1.0.0-beta3
#r "nuget: Sejil, 1.0.0-beta3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

Build status

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.

Getting started

  1. Installing Sejil package

    Install-Package -IncludePrerelease Sejil
    
  2. 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();
            // ...
        }
    }
    
  3. 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

License

Copyright © Alaa Masoud.

This project is provided as-is under the Apache 2.0 license. For more information see the LICENSE file.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 4,063 11/10/2021
3.0.3 6,831 11/11/2020
3.0.2 452 11/10/2020
3.0.1 481 11/9/2020
3.0.0 634 11/9/2020
2.0.0-beta1 1,189 9/6/2019
1.0.1-beta1 2,419 2/2/2019
1.0.0-beta9 606 1/12/2019
1.0.0-beta8 604 1/7/2019
1.0.0-beta7 595 1/6/2019
1.0.0-beta6 11,087 8/30/2018
1.0.0-beta5 942 5/28/2018
1.0.0-beta4 801 1/30/2018
1.0.0-beta3 854 12/21/2017
1.0.0-beta2 883 9/20/2017
1.0.0-beta10 536 2/2/2019
1.0.0-beta1 751 8/14/2017