mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
5742ed1537
the idea is to make it clear from the logging if non-ascii characters are used. this is implemented by making mlog recognize if a field value that will be logged has a LogString method. if so, that value is logged. dns.Domain, smtp.Address, smtp.Localpart, smtp.Path now have a LogString method. some explicit calls to String have been replaced to LogString, and some %q formatting have been replaced with %s, because the escaped localpart would already have double quotes, and double doublequotes aren't easy to read. |
||
---|---|---|
.. | ||
account.go | ||
account.html | ||
account_test.go | ||
accountapi.json | ||
admin.go | ||
admin.html | ||
admin_test.go | ||
adminapi.json | ||
autoconf.go | ||
autoconf_test.go | ||
import.go | ||
mtasts.go | ||
mtasts_test.go | ||
web.go | ||
web_test.go | ||
webserver.go | ||
webserver_test.go |