all repos

mugit @ c845996

๐Ÿฎ git server that your cow will love
1 files changed, 2 insertions(+), 1 deletions(-)
feat: improve http logger
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-02-09 15:46:24 +0200
Authored at: 2026-02-08 17:55:16 +0200
Change ID: toltzlrzsmwnszkpxoultvxvmksskryx
Parent: ce71764
M internal/handlers/util.go
ยทยทยท
        45
        45
         

      
        46
        46
         		slog.Info("http request",

      
        47
        47
         			"method", r.Method,

      
        48
        
        -			"path", r.URL.Path,

      
        49
        48
         			"status", wrapped.status,

      
        
        49
        +			"path", r.URL.Path,

      
        50
        50
         			"latency", time.Since(start).String(),

      
        
        51
        +			"ua", r.UserAgent(),

      
        51
        52
         		)

      
        52
        53
         	})

      
        53
        54
         }