func (ca *CookieAuth) SetLogger(l *log.Logger) { if l.Prefix() == "" { l.SetPrefix("[" + pkgID + "] ") } ca.mut.Lock() ca.logger = l ca.mut.Unlock() }