logging
logging copied to clipboard
:boom: Universal logging support to Tracy / Nette Framework (@nette)
https://github.com/contributte/logging/blob/2cc959bcfbd05cf2946b6711432d14fc0deed418/src/Sentry/SentryLogger.php#L63-L94 method `log` can accept message of type mixed. In my case it was array. But bit lower `makeRequest` is unable to process anything other than Throwable or string, since...
When trying to log an error to slack, the application will return me. `File: ...\ExceptionStackTraceFormatter.php:27` ``` 17: $context = clone $context; 18: $attachment = $context->createAttachment(); 19: $attachment->setText(sprintf('*Stack trace* (_%s_)', get_class($exception)));...
- [ ] nette user context - [ ] php context
After setup extension does not work ``` bin/console Nette\InvalidStateException: Name already has been set. in /var/www/html/vendor/nette/di/src/DI/Definitions/Definition.php:45 Stack trace: #0 /var/www/html/vendor/nette/di/src/DI/ContainerBuilder.php(84): Nette\DI\Definitions\Definition->setName('logging.origina...') #1 /var/www/html/vendor/contributte/logging/src/DI/TracyLoggingExtension.php(40): Nette\DI\ContainerBuilder->addDefinition('logging.origina...', Object(Nette\DI\Definitions\ServiceDefinition)) #2 /var/www/html/vendor/nette/di/src/DI/Compiler.php(232): Contributte\Logging\DI\TracyLoggingExtension->loadConfiguration() #3 /var/www/html/vendor/nette/di/src/DI/Compiler.php(207):...
(not tested) Is this anything you would like to have in contributte package?