Add Server.Logger
This commit is contained in:
parent
01983eb7b5
commit
efa0816333
1 changed files with 5 additions and 0 deletions
|
@ -228,6 +228,11 @@ func (s *Server) Reload() error {
|
|||
return s.load()
|
||||
}
|
||||
|
||||
// Logger returns this server's logger.
|
||||
func (s *Server) Logger() echo.Logger {
|
||||
return s.e.Logger
|
||||
}
|
||||
|
||||
// Context is the context used by HTTP handlers.
|
||||
//
|
||||
// Use a type assertion to get it from a echo.Context:
|
||||
|
|
Loading…
Reference in a new issue