Skip to content

Releases: axiaoxin-com/logging

v1.2.14

25 Apr 03:08
Compare
Choose a tag to compare

ignore example dir and upgrade goutils for remove sqlite3 and cgo
gin logger latency rename to latency_seconds

v1.2.9

17 Dec 06:58
Compare
Choose a tag to compare

add ZapcoreLevelMap
gorm logger support use special level to trace sql

v1.2.8

07 Dec 08:02
Compare
Choose a tag to compare

GinLogFormatter support pass the context

v1.2.7

19 Nov 09:53
Compare
Choose a tag to compare

CtxTraceID 尝试充gin querystring 或请求json body中获取traceid

v1.2.6

18 Nov 12:49
Compare
Choose a tag to compare

slow request use warn to log

TraceIDFunc use context.Context

gin middleware add SlowThreshold use Error to log

update gorm logger, use gorm v2 log request id by context

v1.2.5

22 Sep 09:33
Compare
Choose a tag to compare

gin logger middleware add initfields by gin context
expose encoder config

v1.2.4

11 Sep 02:05
Compare
Choose a tag to compare

prometheus handler rename
atomiclevel server accept request id from header
Context -> NewCtxLogger

v1.2.3

06 Sep 13:48
Compare
Choose a tag to compare

support prometheus gin handler

v1.2.2

04 Sep 01:11
Compare
Choose a tag to compare

add lock on clone/replace logger to fix data race
use defer to print access log
remove gin recovery middleware

v1.2.1

01 Sep 11:42
Compare
Choose a tag to compare

add GinRecovery middleware
change access log field format