Skip to content

v1.3.4

Choose a tag to compare

@rsms rsms released this 18 Nov 19:58
· 11 commits to master since this release

Adds ability to customize error logging with gotalk.ErrorLogger and gotalk.HandlerErrorLogger which both have the type gotalk.LoggerFunc

Example:

gotalk.HandlerErrorLogger = func(s *gotalk.Sock, format string, args ...interface{}) {
  myLogger.Warn("[gotalk %p] " + format, append([]interface{}{s}, args...)...)
}