mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-06 06:27:38 +03:00
Now they are represented by implementations of the log.Output interface instead of just callbacks. This allows to add additional methods to it. Mainly, it was done for purpose of Close method for flushing and closing log files. This is important to make runtime logger reinitialization (e.g. log rotation) possible. Additionally, documentation now explains goroutine-safety of logger objects. |
||
---|---|---|
.. | ||
log.go | ||
logger.go | ||
syslog.go | ||
writer.go |