Download the PHP package lombokclarion/log without Composer
On this page you can find all versions of the php package lombokclarion/log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lombokclarion/log
More information about lombokclarion/log
Files in lombokclarion/log
Download lombokclarion/log
More information about lombokclarion/log
Files in lombokclarion/log
Vendor lombokclarion
Package log
Short Description Structured logging: levels, channels, handlers, formatters, and non-optional context redaction. No global logger and no static facade — a Logger is constructor-injected like every other service.
License Apache-2.0
Homepage https://github.com/codinglombok/LombokClarion
Package log
Short Description Structured logging: levels, channels, handlers, formatters, and non-optional context redaction. No global logger and no static facade — a Logger is constructor-injected like every other service.
License Apache-2.0
Homepage https://github.com/codinglombok/LombokClarion
Please rate this library. Is it a good library?
Informations about the package log
lombokclarion/log
Structured logging: channels, handlers, formatters, context redaction.
[READ-ONLY] This is a subtree split of the LombokClarion monorepo.
Do not send pull requests here — contribute to the main repository instead.
Install
Namespace
What's Inside
| Class | Role |
|---|---|
Logger |
Interface: log(LogLevel, string, array) |
ChannelLogger |
Multi-handler logger with channel name |
NullLogger |
No-op logger for testing |
LogLevel |
Enum: Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency |
LogRecord |
Structured record VO (level, message, context, channel, timestamp) |
LogHandler |
Handler interface (decides whether to write) |
LogFormatter |
Formatter interface (record → string) |
LogsConveniently |
Trait: debug(), info(), warning(), error() sugar |
Redactor |
Redacts sensitive fields (password, token, secret, etc.) |
StreamHandler |
File handler with daily rotation + retention |
InMemoryHandler |
Testing handler (stores records in array) |
LineFormatter |
Human-readable single-line format |
JsonFormatter |
JSON structured format |
Usage
Redaction
Sensitive fields (password, token, secret, authorization, cookie) are automatically redacted from log context.
License
Apache-2.0 — see LICENSE in the main repository.
All versions of log with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-json Version *
ext-json Version *
The package lombokclarion/log contains the following files
Loading the files please wait ...