Skip to content
Sean DuBois edited this page Nov 18, 2018 · 4 revisions

Summary

pion-WebRTC currently uses fmt.Println sprinkled through out the code base. For the most grievous errors we always print them, for warnings we usually comment them out (and then developers re-enable them locally)

This is a frustrating way to work for developers, and doesn't work at all for users. We very commonly have bug reports where a user just sees a message, but not sure what is happening. Developers just add fmt.Println messages throughout the code base

Targeted Use Cases

Existing Logging Solutions

Proposed Solution