This allows both kinds "<username>@<client>/<network>" and "<username>/<network>@<client>".
Add bouncer logs, in a network/channel/date.log format, in a similar manner to ZNC log module. PRIVMSG, JOIN, PART, QUIT, MODE are logged. Add a config directive for the logs file, including a way to disable them entirely.