mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
Update to v3.0.0-beta.4 - Logger changes book, examples updated
This commit is contained in:
@@ -192,9 +192,9 @@ func (srv *Server) StopChan() <-chan struct{} {
|
||||
}
|
||||
|
||||
// DefaultLogger returns the logger used by Run, RunWithErr, ListenAndServe, ListenAndServeTLS and Serve.
|
||||
// The logger outputs to STDERR by default.
|
||||
// The logger outputs to STDOUT by default.
|
||||
func DefaultLogger() *logger.Logger {
|
||||
return logger.New()
|
||||
return logger.New(config.DefaultLogger())
|
||||
}
|
||||
|
||||
func (srv *Server) manageConnections(add, remove chan net.Conn, shutdown chan chan struct{}, kill chan struct{}) {
|
||||
|
||||
Reference in New Issue
Block a user