[RSS Feed/News] Writing to the server log table?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

Is it possible to log an error/exception to the server log so that I can monitor if something did not work during run time? I'm trying to use it in the complete function of the formAction so that I know if something went wrong at that time.

This is my public controller code
PHP:

Code:
public function actionSaveProcess(\Asprin\FB\Entity\Foo $foo)
{
    $data = [
        'title' => 'str',
        'comment' => 'str'
    ];
    
    $input = $this->filter($data);
    $form =...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom