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

jeffotoni / quick / 256
51%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2025 03:38AM UTC
Jobs 1
Files 110
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

17 Mar 2025 03:36AM UTC coverage: 54.197% (+0.2%) from 53.959%
256

push

circleci

jeffotoni
🔹 Added structured logging support with different formats
	•	Implemented text, slog, and json log formats.
	•	slog now correctly follows the user-defined Pattern.
	•	Logs now include custom fields when defined.

🔹 Added ANSI color support for text-based logging
	•	Colors applied only in text and slog formats.
	•	Each field (time, level, method, status, latency) has a
distinct color.
	•	JSON output remains uncolored for compatibility.

🔹 Fixed missing DEBUG logs in slog format
	•	Ensured slog captures and prints DEBUG logs correctly.
	•	Configured slog.Handler to respect LevelDebug.

🔹 Improved log output formatting
	•	JSON logs now print correctly without unnecessary escape
characters.
	•	slog logs now match the expected output structure.
	•	Text logs properly break lines instead of printing in a
single stream.

🔹 Improved test coverage for logger middleware
	•	Added tests for text, slog, and json formats.
	•	Ensured log output is correctly captured in os.Stdout.
	•	Fixed issue where DEBUG logs were not appearing in
tests.

102 of 160 new or added lines in 3 files covered. (63.75%)

2699 of 4980 relevant lines covered (54.2%)

2006.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
88.65
5.32% middleware/logger/logger.go
18
0.0
example/middleware/logger/net.http/main.go
26
0.0
example/middleware/logger/with.format/main.go
Jobs
ID Job ID Ran Files Coverage
1 256.1 17 Mar 2025 03:38AM UTC 110
54.2
CircleCI Job
Source Files on build 256
  • Tree
  • List 110
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #256
  • 961c0f45 on github
  • Prev Build on main (#255)
  • Next Build on main (#257)
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