With the producer/consumer pattern we can produce information, such as usage statistics or event logging, literally anywhere and ship the information off to a centralized data processor. We’ll see how to create messages without concern for the ultimate destination or distribution. We’ll process the messages with a PSR-3-compliant logger. In this talk, we’re instrumenting our file-import project with event logging.

Comments

Comments are closed.

Dave Buchanan at 11:22 on 23 May 2019

Good use of simple examples for how to use interfaces. ANd why it can be powerful and helpful to your application's code health.