github.com/pion/webrtc/v4@v4.0.1/examples/custom-logger/README.md (about)

     1  # custom-logger
     2  custom-logger is an example of how the Pion API provides an customizable
     3  logging API. By default all Pion projects log to stdout, but we also allow
     4  users to override this and process messages however they want.
     5  
     6  ## Instructions
     7  ### Download custom-logger
     8  ```
     9  go install github.com/pion/webrtc/v4/examples/custom-logger@latest
    10  ```
    11  
    12  ### Run custom-logger
    13  `custom-logger`
    14  
    15  
    16  You should see messages from our customLogger, as two PeerConnections start a session