1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 13:36:38 +02:00
Files
unrealircd/include
Bram Matthys bc9e17aeb0 Add multiline support to unreal_log()
Any \n's will be expanded to multiple lines.
* For JSON disk logging there is no change.
* For text disk logging it will show as:
  [time] facility subsys.CODE+
  [time] facility subsys.CODE+
  [time] facility subsys.CODE
  So a plus sign is added if another message is to follow.
* For notices to opers/snomasks exactly the same (plus sign if needed).

Untested. More changes to follow eg to notice dropping the json
in the followup msgs.

This also changes the logging format for text disk to match
the output on server notices, we no longer log as:
[TS] facility subsystem event_code: msg....
But as:
[TS] facility subsystem.event_code: msg....
2021-08-08 12:04:41 +02:00
..
2021-08-07 14:01:44 +02:00
2021-08-08 12:04:41 +02:00
2002-02-16 20:15:41 +00:00
2016-05-12 16:57:32 +08:00
2000-02-28 22:45:44 +00:00
2004-05-13 16:39:23 +00:00
2021-05-15 15:42:34 +02:00
2018-12-19 13:58:44 +01:00