I'm lookin开发者_运维技巧g for logger for PHP like log4j. can you suggest me witch logger that I can use ?
Thanks,
Seems there is a port - Log4Php, http://logging.apache.org/
log4php?
One of the family of loggers
PEAR logging class is pretty nice and simple. There is no need to configure things via xml and there are no other dependencies. You can download and simply drop in pear package PEAR log (no need to install it via PEAR or Pyrus).
This is a very popular logging layer library for PHP - https://github.com/Seldaek/monolog It provides many integrations, including sending data to https://www.loggly.com/ or https://sentry.io/welcome/
Also, many logging services, like https://phplogger.com/, support Monlog in one form or another
精彩评论