How to create log files on linux using C#.net core

Prabs 1 Reputation point
2021-04-05T07:16:31.383+00:00

Hi,
I have an console application which is developed with c#.net core 3.1.
I want to create logfiles on linux.
Please help me on this.

Developer technologies .NET .NET Runtime
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Duane Arnold 3,216 Reputation points
    2021-04-05T11:43:29.127+00:00

    I suggest that you look into Serilog or Nlog and see if they have the ability to write log file to Linux using .NET Core.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.