• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / go-tarantool / 25362054985
75%

Build:
DEFAULT BRANCH: master
Ran 05 May 2026 06:54AM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 May 2026 06:49AM UTC coverage: 75.435% (+0.4%) from 75.042%
25362054985

push

github

oleg-jukovec
api: replace custom Logger with *slog.Logger

The library defined a custom Logger interface that users had to
implement for connection logging. This created unnecessary friction
because Go 1.21 introduced the standard log/slog package, which is
now the idiomatic way to do structured logging in the ecosystem.

Using a custom interface prevented users from plugging in existing
:x
writing adapter code. It also forced the library to maintain its
own logging abstraction instead of relying on the standard library.

Replace the Logger interface and ConnLogKind constants with
*slog.Logger. Connection logs are now emitted via slog.Warn with
structured attributes. The pool no longer uses log.Printf for
errors; it uses the same slog-based approach with a
"tarantool.pool" group namespace.

By default, both connection and pool log output is discarded.
Users who previously relied on the implicit stderr logging must
now explicitly provide a *slog.Logger in Opts.Logger.

See MIGRATION.md for the full migration guide, including before
and after examples.

Closes #504
Closes #562

26 of 29 new or added lines in 1 file covered. (89.66%)

5 existing lines in 1 file now uncovered.

3120 of 4136 relevant lines covered (75.44%)

10138.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
82.55
1.64% connection.go

Coverage Regressions

Lines Coverage ∆ File
5
82.55
1.64% connection.go
Jobs
ID Job ID Ran Files Coverage
1 25362054985.1 05 May 2026 06:54AM UTC 19
75.44
GitHub Action Run
Source Files on build 25362054985
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 52d167d5 on github
  • Prev Build on master (#25162039297)
  • Next Build on master (#25402735904)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc