Building to an Interface: Logging
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.