Need help with Notepad.Extensions.Logging?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

yaakov-h
144 Stars 3 Forks Other 38 Commits 0 Opened issues

Description

.NET logging to Notepad

Services available

!
?

Need anything else?

Contributors list

# 33,597
steam
carthag...
NuGet
c-sharp
25 commits

Notepad.Extensions.Logging

NuGet

This is a library for .NET / .NET Core to log your program's output to a handy Notepad window!

Installation

To use:

  1. Add a package reference to
    Notepad.Extensions.Logging
    .
  2. In
    Startup.cs
    , call
    AddNotepad()
    , like so:
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
    services.AddControllersWithViews();

// ...

services.AddLogging(lb => lb.AddNotepad()); // This is where the magic happens

}

  1. Open a new Notepad, Notepad++, or Notepad2 window.
  2. Run your application.

Source Material

Inspired by this tweet:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.