Sim
Well-known member
Sim submitted a new resource:
Monolog for XenForo 2 - Provides Monolog logging facilities for XenForo 2
Read more about this resource...
Monolog for XenForo 2 - Provides Monolog logging facilities for XenForo 2
This XenForo 2.0 addon adds logging functionality using the Monolog library from https://github.com/Seldaek/monolog
Usage Instructions
By default, this addon will log events to a file calledinternal_data/monolog.log
- in later versions this will be configurable.
To use the default logging facility, do the following in your addon code:
PHP:/** @var Monolog\Logger $logger */ $logger = \XF::app()['monolog']->default(); $logger->info('an info...
Read more about this resource...