On Thu, 14 Feb 2019 23:00:32 +0100, Sönke Ludwig wrote:
Am 11.02.2019 um 20:25 schrieb aliak:
Hi,
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?
Cheers,
- 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 currentFileLogger.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 + callregisterLogger
with an
instance of the modified class andsetLogLevel(LogLevel.none)
to
disable the built-in logger.
Ah I see. Thanks!