diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2023-08-17 22:02:52 +0200 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2023-08-17 22:02:52 +0200 |
commit | 10f7eb53f4370cab6c1ff390773772389d500e59 (patch) | |
tree | 8c7d81f6428f182bec3162274d88fe4e486be9e1 /vendor/github.com/jackc/pgservicefile | |
parent | a4a8c642296560ddb88ee43199d43520250b9828 (diff) |
prepare switch to log/slog
This commit prepares the switch from log to log/slog, which was
introduced in Go 1.21.
slog provides some useful facilities to add metadata to log entries,
which should be helpful for debugging problems.
This commit also adds a small transaction ID generator. It provides a
common identifier between log messages, so that multiple errors can be
viewed together in their order.
Diffstat (limited to 'vendor/github.com/jackc/pgservicefile')
0 files changed, 0 insertions, 0 deletions