8 Commits

Author SHA1 Message Date
contact
d562150702 Parse timestamp from message tags in messageLogger.Append
git-svn-id: file:///srv/svn/repo/suika/trunk@250 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-08 08:19:33 +00:00
contact
cec36bb0e1 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.

git-svn-id: file:///srv/svn/repo/suika/trunk@248 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-07 19:54:24 +00:00
contact
2381bdc3aa Extract logic to build log filepath into a function
This will get re-used when parsing logs.

git-svn-id: file:///srv/svn/repo/suika/trunk@247 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-07 19:50:12 +00:00
contact
acc3c1c6f1 Log TOPIC messages
See [1].

[1]: 82c4ad8362/modules/log.cpp (L486)

git-svn-id: file:///srv/svn/repo/suika/trunk@235 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-06 16:49:39 +00:00
contact
005ed3bf83 Fix NOTICE log formatting
ZNC uses hyphens instead of angle brackets [1].

[1]: 82c4ad8362/modules/log.cpp (L495)

git-svn-id: file:///srv/svn/repo/suika/trunk@234 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-06 16:45:30 +00:00
contact
4531200d1b Use Network.GetName for logs path
git-svn-id: file:///srv/svn/repo/suika/trunk@225 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-05 13:24:57 +00:00
contact
f4c48f9b05 Add time tag to all messages
git-svn-id: file:///srv/svn/repo/suika/trunk@216 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-03 18:48:23 +00:00
contact
84c358d870 Introduce messageLogger
This centralizes formatting related to message logging in a single
place.

git-svn-id: file:///srv/svn/repo/suika/trunk@215 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-03 16:59:17 +00:00