srv := echo.New()
fp, err := os.OpenFile("/var/log/echo/access.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
panic(err)
}
logger := echo_alp_logger.LoggerWithConfig(echo_alp_logger.LoggerConfig{
Output: fp,
})
srv.Use(logger)
-
Notifications
You must be signed in to change notification settings - Fork 0
alp format logger for golang echo v4
License
hogesako/echo-alp-logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
alp format logger for golang echo v4
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published