You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
提供指定http.Server的ErrorLog功能
Why is this needed:
http.Server的错误日志默认会写到标准输出,但它提供了指定自定义Logger的口子,getty似乎没有开放这个口子?
http\server.go
type Server struct {
// ErrorLog specifies an optional logger for errors accepting
// connections, unexpected behavior from handlers, and
// underlying FileSystem errors.
// If nil, logging is done via the log package's standard logger.
ErrorLog *log.Logger
}
What would you like to be added:
提供指定http.Server的ErrorLog功能
Why is this needed:
http.Server的错误日志默认会写到标准输出,但它提供了指定自定义Logger的口子,getty似乎没有开放这个口子?
The text was updated successfully, but these errors were encountered: