Files
webrtc/examples/custom-logger
Sean DuBois 2228e7f61e Add custom-logger example
Demonstrate how users can user their own logger via the
SettingEngine

Resolves #726
2019-07-11 20:24:07 +01:00
..
2019-07-11 20:24:07 +01:00
2019-07-11 20:24:07 +01:00

custom-logger

custom-logger is an example of how the Pion API provides an customizable logging API. By default all Pion projects log to stdout, but we also allow users to override this and process messages however they want.

Instructions

Download custom-logger

go get github.com/pion/webrtc/examples/custom-logger

Run custom-logger

custom-logger

You should see messages from our customLogger, as two PeerConnections start a session