- add *Skip variants (logSkip, makeLogFieldsSkip, getLoggerCallerInfoSkip)
so wrapper functions report the true call site, not logger internals
- switch GormLogger.Trace to use ErrorSkip/WarnSkip/InfoSkip with extraSkip=1
so SQL log lines point to GORM caller rather than the logger facade
- pass postgresDBClient instead of tx to GetFullMeasurementSet in main
|
||
|---|---|---|
| .. | ||
| facede.go | ||
| gorm_logger.go | ||
| logger.go | ||
| loki_syncer.go | ||
| zap.go | ||