Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger Interface (PSR-3) #13438

Closed
sergeyklay opened this issue Jul 16, 2018 · 5 comments
Closed

Logger Interface (PSR-3) #13438

sergeyklay opened this issue Jul 16, 2018 · 5 comments
Labels
breaks bc Functionality that breaks Backwards Compatibility discussion Request for comments and discussion new feature request Planned Feature or New Feature Request
Milestone

Comments

@sergeyklay
Copy link
Contributor

sergeyklay commented Jul 16, 2018

Phalcon's logger must be fully compatible with Logger Interface (PSR-3) for v4.0.0


Refs:

@sergeyklay sergeyklay added the new feature request Planned Feature or New Feature Request label Jul 16, 2018
@sergeyklay sergeyklay added this to the 4.0.0 milestone Jul 16, 2018
@sergeyklay sergeyklay added discussion Request for comments and discussion breaks bc Functionality that breaks Backwards Compatibility labels Jul 16, 2018
@sergeyklay sergeyklay mentioned this issue Jul 16, 2018
3 tasks
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
niden added a commit that referenced this issue Dec 7, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
CameronHall pushed a commit to CameronHall/cphalcon that referenced this issue Dec 8, 2018
@virgofx
Copy link
Contributor

virgofx commented Dec 9, 2018

@niden I was looking for that in the code ... I see now. So in short, we implement PSR .. meaning it will now be a dependency for Phalcon. Interesting ... I see a little bit of a chicken and egg thing and this potentially becoming more of an issue in the future. I'm not saying it's bad per say ... however, it means that the bundled extension requires autoloaded classes to be loaded ahead of time -- not sure how this will scale.

niden added a commit that referenced this issue Dec 9, 2018
* alexbusu-scope-sql-col-aliases: (48 commits)
  CLI parameters now work like MVC parameters.
  Fixed Security Tests segmentation fault
  Added retainer for current session token in order to be able to validate fields after regenerating the token. Added string casting to userToken.
  Update di.zep
  Scope SQL Column Aliases (on nesting level)
  [NF] Micro: Response handler #12452
  Added Codecov token [skip appveyor]
  [#13438] - Added docblock
  [#13438] - Fixed tabs
  [#13438] - Updated the CHANGELOG
  [#13438] - More corrections to the interface
  [#13438] - Corrected interface
  [#13438] - Work on the Factory; Wrote more tests for it
  [#13438] - Correction to the syslog adapter; Added more tests
  [#13438] - Renamed blackhole adapter to noop. Added tests
  [#13438] - PHPCS
  [#13438] - Minor corrections to the adapter; Added more tests
  [#13438] - Work on the syslog adapter
  [#13438] - Renamed the base folder for the tests
  [#13438] - Removed logger file adapter; consolidated it in stream. Adjusted tests; Added syslog tests
  ...
@niden
Copy link
Sponsor Member

niden commented Dec 31, 2018

@virgofx Sorry for the late reply, just finished scanning my emails :)

Yes it is a chicken and egg situation. There is no other way that we know of to include the PSR extension so that we can take advantage of the PSR interfaces and offer PSR compliance per se.

I think now that alpha is out and we are learning as we go, it will become much easier for people to install the package especially from rpm/deb distributions because we could make PSR a dependency.

@niden niden added the 4.0 label Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks bc Functionality that breaks Backwards Compatibility discussion Request for comments and discussion new feature request Planned Feature or New Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants