PHP code example of netlogix / nxsentry

1. Go to this page and download the library: Download netlogix/nxsentry library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

netlogix / nxsentry example snippets


return [
    'LOG' => [
        'writerConfiguration' => [
            \TYPO3\CMS\Core\Log\LogLevel::ERROR => [
                'Netlogix\Nxsentry\Log\Writer\SentryBreadcrumbWriter' => [],
                'Netlogix\Nxsentry\Log\Writer\SentryWriter' => [],
            ],
        ],
    ],
];

return [
    'EXTENSIONS' => [
        'nxsentry' => [
            'options' => [
                'dsn' => 'http://[email protected]/project-id'
            ]
        ],
    ],
];

return [
    'EXTENSIONS' => [
        'nxsentry' => [
            'integrations' => [
                new MyCustomIntegration()
            ]
        ],
    ],
];