add stack trace processor and refactor introspection processor to reduce code duplication

The Monolog processor is called when there is a log message. How would your PR allow to handle the case of exceptions without logging call ?