Summary

In conclusion, logging and error handling within an Echo-based web application allows the developer a mechanism to make their applications more reliable and resilient. This will lead to fewer problems at deployment time, as well as a decreased need for developer interaction at operations time. In this chapter, we have shown you how to effectively use the logging capabilities in Echo to standardize how logging is performed within your web application. We have also looked at how Echo handles error conditions, and the best practices for the propagation of errors through middleware and handler functions.

In Chapter 7, Testing Applications, we are taking on the elephant in the room by talking about how to test web applications. More often ...

Get Echo Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.