.NET Core Logger using Serilog — Part 3

Introduction

Welcome back. In the previous part of this series, we centralized exception handling logic using ASP .NET Core Middleware and our Web Helper for logging concern. We saw the error messages are being persisted to the corresponding file. In this post we will see how to persist other type of logs as well (i.e. Performance, Diagnostic, Usage etc).

Diagnostic Logs

These are similar to console.log() in JavaScript. These will be used mostly by developers, when they want to log particular…

--

--

--

Software Solutions Team Lead | Cloud Architect | Solutions Architect

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Indicative Functions

What is React Js and Why React Js

Cracking Frontend Developer Interview - Part 2

“JavaScript waits for none”

How I learned to write cleaner code using ESLint

Migrating from glamorous to emotion

React Native Async Storage

QA Automation with Flagpole and Puppeteer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jawadhasan

Jawadhasan

Software Solutions Team Lead | Cloud Architect | Solutions Architect

More from Medium

How memory is managed by Stack and Heap

Manage Hierarchies with Composite Pattern

ZIP code geojson polygons for MapView | C# Parser

My Short Journey to Find a Suitable Architecture for an Asp.net Core Project