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

valkyrjaio / valkyrja-php / 36808122289
100%

Build:
DEFAULT BRANCH: 26.x
Ran 01 Oct 2026 02:57AM UTC
Jobs 1
Files 1203
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 02:55AM UTC coverage: 100.0%. Remained the same
36808122289

push

github

web-flow
[Log] feat: Configure the psr logger name, path and level (#1338)

# Description

Let an application configure the logger that the PSR adapter wraps.
`publishMonolog` hard-coded the channel name, the log directory and the
level, so an application could change none of them.
`LogPsrConfigContract` now carries `psrName`, `psrFilePath` and
`psrLevel`, the service provider publishes it as its own binding, and
`publishMonolog` reads all three from there.

`psrName` and `psrFilePath` default to null, because the framework
resolves both at run time: the name carries the current date, and the
directory comes from the logs storage path, which the framework knows
only after it sets the base path. A null value keeps today's behavior,
so an application that sets nothing logs exactly where it did before.

## 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)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`LogPsrConfigContract`, `LogPsrConfig`** — the PSR adapter contract
and its default implementation.
- **`LogServiceProvider`** — publishes the contract as its own binding,
and builds the Monolog logger from it.
- **`README.md`** — documents the new contract, its binding, and what
each null default means.
- **Tests** — cover the new config, both branches of its publisher, and
that a configured name and path reach the Monolog channel and its
stream.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

22 of 22 new or added lines in 2 files covered. (100.0%)

12975 of 12975 relevant lines covered (100.0%)

26.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36808122289.1 01 Oct 2026 02:57AM UTC 1203
100.0
GitHub Action Run
Source Files on build 36808122289
  • Tree
  • List 1203
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36808122289
  • a40ad0d6 on github
  • Prev Build on 26.x (#36808031888)
  • Next Build on 26.x (#36808208012)
  • 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