Search

I'm trying to build an extension that works with logging (manifest/logs/main) writing to a 3rd party api when a new line is written. I was looking for a delegate but there doesn't seem to be one for logging.

How else could I hook into the logging events from an extension?

You could add a delegate for you immediate needs :) Probably in the Log->writeToLog method.

Ive updated the logs class in the core for now. It would be great to get a delegate added in the next release of symphony.

Here is the result:

http://www.symphonyextensions.com/extensions/exception_notifier/

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details