In my theme.php I want to do something whenever the theme config gets saved. I tried two hooks for that: onAdminSave and onApiConfigUpdated. Both let me send messages to the logs via $this->grav['log']->info('test log message');.
However, $this->grav['log']->addMessage($event, 'info'); seems to do nothing in both hooks – at least I can’t find any output anywhere, neither in the little bug message box nor in Clockwork. I got both methods from the Grav docs on debugging.
I think it’s still possible that I just don’t know where to look, but I am running out of ideas as to where this might still be hiding…