Skip to content

Files

Latest commit

157220e · Jan 18, 2022

History

History
This branch is 469 commits behind pion/webrtc:master.

custom-logger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 1, 2020
Jan 18, 2022

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