Simon Ser
|
155f35bd84
|
Parse timestamp from message tags in messageLogger.Append
|
2020-04-08 10:19:33 +02:00 |
|
Simon Ser
|
f2037c5d52
|
Make newMessageLogger take a *network instead of an *upstreamConn
There's no reason why messgeLogger needs access to the whole connection,
the network is enough.
|
2020-04-07 21:54:24 +02:00 |
|
Simon Ser
|
64b537d799
|
Extract logic to build log filepath into a function
This will get re-used when parsing logs.
|
2020-04-07 21:50:12 +02:00 |
|
Simon Ser
|
78b123be72
|
Log TOPIC messages
See [1].
[1]: 82c4ad8362/modules/log.cpp (L486)
|
2020-04-06 18:49:39 +02:00 |
|
Simon Ser
|
c985b88559
|
Fix NOTICE log formatting
ZNC uses hyphens instead of angle brackets [1].
[1]: 82c4ad8362/modules/log.cpp (L495)
|
2020-04-06 18:45:30 +02:00 |
|
Simon Ser
|
3680facb1d
|
Use Network.GetName for logs path
|
2020-04-05 15:24:57 +02:00 |
|
Simon Ser
|
3d142cae9f
|
Add time tag to all messages
|
2020-04-03 20:48:23 +02:00 |
|
Simon Ser
|
27e0906450
|
Introduce messageLogger
This centralizes formatting related to message logging in a single
place.
|
2020-04-03 18:59:17 +02:00 |
|