CSM icon indicating copy to clipboard operation
CSM copied to clipboard

[Development Feature] Logger output to console

Open dfrankes opened this issue 4 years ago • 2 comments

The following PR will add a Debug console to the mod., all Logger outputs (Console.Write will also work) will be shown in the console.

Preview Cities_BEBguvQ86e

How to use: Set the build mode in Visual Studio to Debug and build the project.

dfrankes avatar Jun 24 '20 18:06 dfrankes

I'm not sure if this is really needed since you can just open the log file and enable automatic refreshing (like in Notepad++ or tail -f on the console). What do you think @DominicMaas ?

kaenganxt avatar Jul 12 '20 23:07 kaenganxt

This got lost in all my emails, sorry about the delay.

Hmmm, I see what you mean @kaenganxt. I'll have to test this, but does the console show output from only the mod, or other parts of the game as well?

I can see the console being useful, but also the techniques mentioned above to access a live log of the file work just as well. I'm not actually too sure.

DominicMaas avatar Jul 19 '20 20:07 DominicMaas

Going back on old PRs, yeah, I think we'll stick with methods of leading the from disk as the file is updated (especially with the new logging system). This method also isn't cross platform.

DominicMaas avatar Sep 15 '22 19:09 DominicMaas