.NET
How to instrument Tailed from .NET with just two lines of code.
Setup
dotnet add package Tailed.ConsoleBasic Usage
using Tailed.Console;
// The magic two lines!
await using var session = new ConsoleSession();
session.Start();
Console.WriteLine("This will be streamed to tailed.live");
// This is optional - StopAsync() will be called when disposing the session, if it
// hasn't been called already.
await session.StopAsync();
Console.WriteLine("This won't be streamed to tailed.live");Customization Options
Last updated