Search code examples
c#.netloggingconsoleserilog

5 Log instances in one console Serilog


i made a class where i make 5 loggers. Why?

Cause every logger is for a different component and logs in a different file. But they also logg all 5 in console and it gives verry strange views

this is the code: code

this is the view that is created after logging a few lines. the console is fullscreen.

console view

As you can see the lines are getting mixed into each other and its messing it big time. Is there a way to fix to problem or am i doing it completly wrong?


Solution

  • It is fixed by adding a theme to the console.

    solution