Open gian-hancock opened 5 years ago
If it is intentional that the log
method accepts arbitrary log levels, then it could be argued that this implementation "knows about" all log levels and therefore is PSR-3 compliant. In this case it could be documented and the code updated so that notices aren't generated. However it would still be true that the log level threshold would have no effect on non PSR-3 log levels.
The PSR-3 specification states:
Currently calling
log
with any level not specified in PSR-3 will write the log regardless of the current log threshold and give an undefined index notice.