mirror of
https://github.com/labstack/echo.git
synced 2024-12-22 20:06:21 +02:00
Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
ec83e2407f
commit
c67300bb30
2
echo.go
2
echo.go
@ -232,7 +232,7 @@ func (e *Echo) SetLogPrefix(prefix string) {
|
|||||||
e.logger.SetPrefix(prefix)
|
e.logger.SetPrefix(prefix)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetLogOutput sets the output destination for the logger. Default value is `os.Std*`
|
// SetLogOutput sets the output destination for the logger. Default value is `os.Stdout`
|
||||||
func (e *Echo) SetLogOutput(w io.Writer) {
|
func (e *Echo) SetLogOutput(w io.Writer) {
|
||||||
e.logger.SetOutput(w)
|
e.logger.SetOutput(w)
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ SetLogPrefix sets the prefix for the logger. Default value is `echo`.
|
|||||||
|
|
||||||
`echo#SetLogOutput(w io.Writer)`
|
`echo#SetLogOutput(w io.Writer)`
|
||||||
|
|
||||||
SetLogOutput sets the output destination for the logger. Default value is `os.Std*`
|
SetLogOutput sets the output destination for the logger. Default value is `os.Stdout`
|
||||||
|
|
||||||
### Log level
|
### Log level
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user