Redirect the output of kestrel's console to a file

Jun 6 2021 10:51 AM

Hi 

  well i have an api running on Kestrel server locally,i needed to run it without showing the console so i used the vbs answer from Superuser ( https://www.c-sharpcorner.com/forums/redirect-the-output-of-kestrel-to-a-file ) and it worked, now my probleme is that i want to stream out the messages that were shown on console to somewhere else like a file or richtextbox of windowsform ,if there is any why ?

thank you