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

valkyrjaio / valkyrja-php / 36809015965
100%

Build:
DEFAULT BRANCH: 26.x
Ran 01 Oct 2026 03:09AM UTC
Jobs 1
Files 1219
Run time 3min
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

01 Oct 2026 03:07AM UTC coverage: 100.0%. Remained the same
36809015965

push

github

web-flow
[Config] feat!: Give each log adapter its own logger setting (#1333)

# Description

Give the log adapter of every component its own logger setting, and
start each logger property name with the component name. Before this
change, `LogClient`, `LogMailer`, `LogMessenger` and `LogSession` always
wrote to the application's default logger. Cache and Broadcast had a
setting, but both named it `logLogger`, so one application config class
could hold only one logger for both.

HttpClient, Mail, Sms and Session each get a log adapter config contract
and a default implementation. The service provider publishes each one as
its own binding, and each log adapter resolves its logger from that
binding. Every default is `LoggerContract::class`, so an application
that sets nothing keeps the application's default logger.

This breaks an application config that implements
`CacheLogConfigContract` or `BroadcastLogConfigContract`. Rename
`logLogger` to `cacheLogLogger` or to `broadcastLogLogger`, and rename
`logPrefix` to `cacheLogPrefix`.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [x] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [x] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **Cache, Broadcast** — rename `logLogger` to `cacheLogLogger` and to
`broadcastLogLogger`, and rename Cache's `logPrefix` to
`cacheLogPrefix`, so both properties in that contract follow one rule.
- **HttpClient, Mail, Sms, Session** — add a log adapter config contract
and its default implementation, publish the contract as its own binding,
and build the log adapter from it.
- **`README.md`** — each component documents its log config contract and
binding, and the Http README documents the client's log config.
- **Tests** — cover ea... (continued)

63 of 63 new or added lines in 10 files covered. (100.0%)

13067 of 13067 relevant lines covered (100.0%)

26.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36809015965.1 01 Oct 2026 03:09AM UTC 1219
100.0
GitHub Action Run
Source Files on build 36809015965
  • Tree
  • List 1219
  • Changed 10
  • Source Changed 10
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36809015965
  • cbc9b604 on github
  • Prev Build on 26.x (#36808413731)
  • Next Build on 26.x (#36871452236)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc