Skip to content

Like many other libraries for .NET, Serilog provides diagnostic logging to files, the console, and elsewhere. It is easy to set up, has a clean API, and is portable between recent .NET platforms. Unlike other logging libraries, Serilog is built with powerful structured event data in mind.

License

Notifications You must be signed in to change notification settings

shahedbd/SerilogASPNETCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serilog ASP.NET Core Implementations

Like many other libraries for .NET, Serilog provides diagnostic logging to files, the console, and elsewhere. It is easy to set up, has a clean API, and is portable between recent .NET platforms. Unlike other logging libraries, Serilog is built with powerful structured event data in mind.

For MSSQL

Install-Package Serilog.AspNetCore -Version 2.1.1
Install-Package Serilog.Settings.Configuration -Version 2.6.1
Install-Package Serilog.Sinks.MSSqlServer -Version 5.1.2

FileSinks

Install-Package Serilog.AspNetCore -Version 2.1.1
Install-Package Serilog.Settings.Configuration -Version 2.6.1
Install-Package Serilog.Sinks.File -Version 4.0.0

In .NET platform, there are multiple matured logging frameworks such as:

Log4Net(http://logging.apache.org/log4net/)
nLog(http://nlog-project.org/)
CommonLogging(http://netcommon.sourceforge.net/)
ObjectGuy(http://www.theobjectguy.com/dotnetlog/)
ELMAH(https://code.google.com/p/elmah/)

DB log

DB log


File log

File log

About

Like many other libraries for .NET, Serilog provides diagnostic logging to files, the console, and elsewhere. It is easy to set up, has a clean API, and is portable between recent .NET platforms. Unlike other logging libraries, Serilog is built with powerful structured event data in mind.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages