Files
webrtc/examples/custom-logger
Sean DuBois 157220e800 Run gofmt to add new build constraints
Also remove some 1.13 specific WASM code
2022-01-17 22:36:01 -05:00
..
2022-01-17 22:36:01 -05:00
2020-06-30 20:14:23 -07: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

export GO111MODULE=on
go get github.com/pion/webrtc/v3/examples/custom-logger

Run custom-logger

custom-logger

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