File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import (
4242 "errors"
4343 "fmt"
4444 "io"
45- slog "log"
45+ stdLog "log"
4646 "net"
4747 "net/http"
4848 "path"
@@ -59,7 +59,7 @@ import (
5959type (
6060 // Echo is the top-level framework instance.
6161 Echo struct {
62- stdLogger * slog .Logger
62+ stdLogger * stdLog .Logger
6363 colorer * color.Color
6464 premiddleware []MiddlewareFunc
6565 middleware []MiddlewareFunc
@@ -255,7 +255,7 @@ func New() (e *Echo) {
255255 e .HTTPErrorHandler = e .DefaultHTTPErrorHandler
256256 e .Binder = & DefaultBinder {}
257257 e .Logger .SetLevel (log .OFF )
258- e .stdLogger = slog .New (e .Logger .Output (), e .Logger .Prefix ()+ ": " , 0 )
258+ e .stdLogger = stdLog .New (e .Logger .Output (), e .Logger .Prefix ()+ ": " , 0 )
259259 e .pool .New = func () interface {} {
260260 return e .NewContext (nil , nil )
261261 }
You can’t perform that action at this time.
0 commit comments