Yea, IPS\Dispatcher\Standard seems like a good spot!
If you care about literally anything and if you want to log "everything" , you could even hook into IPS\Dispatcher!
I'm doing something similar with rollbar:
//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
exit;
}
abstract class rollbar_hook_dispatcher_standard extends _HOOK_CLASS_
{
public function init()
{
$this->initRollbar();
parent::init();
}
protected function initRollbar()
{
if ( \IPS\Settings::i()->rollbarapikey )
{
require_once \IPS\Application::getRootPath('rollbar') . '/sources/vendor/autoload.php';
$config = array(
'access_token' => \IPS\Settings::i()->rollbarapikey,
'environment' => \IPS\Settings::i()->base_url,
'root' => \IPS\ROOT_PATH
);
\Rollbar\Rollbar::init($config);
}
}
}