On Thu, 14 Feb 2019 23:00:32 +0100, Sönke Ludwig wrote:

Am 11.02.2019 um 20:25 schrieb aliak:


I see that the log functions have FILE and LINE as template arguments with default values, but I don't see any information output to the console when running a server.

Is there some setting I'm not getting right?


  • Ali

The console logger (FileLogger) currently has no mode where file/line
is output. I wanted to add the possibility to set a custom format string
in addition to the current FileLogger.Format enum, but didn't get
around to that, yet.

As an immediate solution, the easiest way would be to take FileLogger
as a template and modify it accordingly + call registerLogger with an
instance of the modified class and setLogLevel(LogLevel.none) to
disable the built-in logger.

Ah I see. Thanks!