Package Logger :

Add function to log minimalist information and access log (latency, size remote info, ...)
    Add option to transform (exclusif) logger as access logger
    fix errors & optimize

Package Router :
    Update methode to start gin engine with access / error logger from package logger
    fix error into middleware logger
    use specif middleware for starttime and request path
    optimize

Package ioutils :
    fix tools : missing control path still existing to prevent truncate destination file
    fix tools : ignore chmod error (not mandatory if file can be create/append)

Package Prometheus :
    use generic starttime into context if available

Bump Dependencies
This commit is contained in:
Nicolas JUHEL
2022-10-17 14:32:29 +02:00
committed by Nicolas JUHEL
parent 609eaa68e1
commit c9db0074bc
15 changed files with 546 additions and 184 deletions

View File

@@ -58,7 +58,6 @@ jobs:
env:
GOOS: linux
GOARCH: amd64
GOAMD64: v4
CGO_ENABLED: 0
- name: Check goSecu + snyk.io
@@ -67,7 +66,6 @@ jobs:
env:
GOOS: linux
GOARCH: amd64
GOAMD64: v4
CGO_ENABLED: 0
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
@@ -89,7 +87,6 @@ jobs:
env:
GOOS: linux
GOARCH: amd64
GOAMD64: v4
CGO_ENABLED: 0
- name: Add ming-w32 (x86 + win64)