Log request URI rather than path.
This commit is contained in:
parent
a70003d290
commit
5e9e502b42
3 changed files with 8 additions and 9 deletions
|
|
@ -18,5 +18,10 @@ func Ctx(ctx echo.Context) *slog.Logger {
|
|||
return l
|
||||
}
|
||||
|
||||
return Default()
|
||||
}
|
||||
|
||||
// Default returns the default logger
|
||||
func Default() *slog.Logger {
|
||||
return slog.Default()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue