Destination\Slackkeeps the result of its last post.write()discarded the webhook response, so a rate limit, a 5xx, a DNS failure or a dead webhook URL all looked like success to anything posting through it, and retries built on top of it could never fire. The destination still never throws (a Slack outage must not turn everyLog::error()into an exception);getLastResponse()returns theWebHookResponseandlastWriteSucceeded()is true only for a 2xx with no transport error.setWebHook()injects the HTTP client for tests.
- Fixed some memory leaks related to singleton/serialize.
- Nightwatch destination now uses system abstractions - Refactored to use
IHttpClientinterface instead of direct curl calls - Added
neuron-php/core0.8.* dependency for system abstractions - Nightwatch destination now supports dependency injection with optional
IHttpClientparameter for testability - Maintains full backward compatibility - existing code works without changes
- Tests rewritten to use
MemoryHttpClientfor deterministic, fast testing without network dependencies - Test performance improvement: Instant execution - No network calls, fully deterministic
- All 15 Nightwatch tests passing with 100% code coverage (6/6 methods, 53/53 lines)
- BREAKING CHANGE: Renamed
FATALlog level toCRITICALfor PSR-3 compliance - Added three new log levels for full PSR-3 compliance:
NOTICE,ALERT,EMERGENCY - Added PSR-3 adapter class (
Psr3Adapter) for full PSR-3 LoggerInterface compatibility - Added Laravel Nightwatch integration
- Added WebSocket log destination for real-time log streaming
- Added Papertrail log destination with configurable SD-ID support
- Refactored all code to camelCase
- Refactored channels to be part of the log data
- Added complex data logging support
- Added Sqs log destination
- Updated to php8.4
- Switched RunLevel to an enum.
- Updated tests to 100% coverage.
- Updated to validation 0.7
- Added StdOutStdError destination.
- Updated documentation.
- Added error handling to the socket destination.
- Refactored formats to better handle contexts.
- Updated core packages.
- Internal refactoring.
- Added slack formatter.
- Refactored destinations and filters to allow access to the parent logger.
- Added setContext to the logging singleton.
- Fix for destination write signatures.
- Test refactoring.
- Added logging filters.
- Renamed mux to channels in log singleton.
- Updated dependencies.
- Added named multiplexers to the singleton logger.
- Added contexts to logging.
- Fixed an issue with Log\Base.
- Added Memory log destination.
- Added Raw log format.
- Added code to handle missing STDERR on non cli applications.
- Added port setting to Destination/Socket.
- Added an update to strerr logging for heroku.
- Updated SysLog to use openlog/closelog.
- Added syslog destination.
- Converting to PHP8
- Added util package requirement.
- Added Log::setRunLevelByText
- Log::setRunLevel now works with int and string.
- Updated travis to php 8.1