Documentation
¶
Index ¶
- type Logger
- func (l *Logger) LogAccess(_ context.Context, det accesslog.Details, req *http.Request)
- func (l *Logger) LogBuildInfo(bld *buildinfo.BuildInfo, modules ...string)
- func (l *Logger) LogClientRequest(_ context.Context, name, url string, shared bool)
- func (l *Logger) LogFetchAuthCookie(name string, cookie http.Cookie)
- func (l *Logger) LogHealthChanged(status, oldStatus healthcheck.Status, statuses map[string]healthcheck.Status)
- func (l *Logger) LogRegisterRoute(route serv.Route)
- func (l *Logger) LogServerClose(name string)
- func (l *Logger) LogServerShutdown(name string)
- func (l *Logger) LogServerStart(name, addr string)
- func (l *Logger) LogServerStartTLS(name, addr, certFile, keyFile string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func NewDevelopmentLogger ¶
func NewProductionLogger ¶
func (*Logger) LogAccess ¶
LogAccess is part of the accesslog.Logger interface.
func (*Logger) LogBuildInfo ¶
func (*Logger) LogClientRequest ¶
LogClientRequest is part of the youlessclient.Logger interface.
func (*Logger) LogFetchAuthCookie ¶
LogFetchAuthCookie is part of the youlessclient.Logger interface.
func (*Logger) LogHealthChanged ¶
func (l *Logger) LogHealthChanged(status, oldStatus healthcheck.Status, statuses map[string]healthcheck.Status)
LogHealthChanged is part of the healthcheck.Logger interface.
func (*Logger) LogRegisterRoute ¶
func (*Logger) LogServerClose ¶
LogServerClose is part of the serv.Logger interface.
func (*Logger) LogServerShutdown ¶
LogServerShutdown is part of the serv.Logger interface.
func (*Logger) LogServerStart ¶
LogServerStart is part of the serv.Logger interface.
func (*Logger) LogServerStartTLS ¶
LogServerStartTLS is part of the serv.Logger interface.
Click to show internal directories.
Click to hide internal directories.