4 Commits

Author SHA1 Message Date
Woodrow Douglass 6bbf915722 Add test coverage
for the log formatting functions

Relates to #333
2019-01-23 16:21:13 +01:00
Michael MacDonald 2883a4e959 Make logging.LogLevel a Stringer
Convenience function for printing the log level
as a string.

Relates to #222
2019-01-16 19:16:51 +01:00
Sean DuBois b3ecfc92e2 SRTP and SRTCP has been ported to streams API
Send/Recv and RTCP is complete

Relates to #272
2019-01-03 11:56:00 -08:00
Michael MacDonald b98909a75b Add leveled/scoped logging facility
Allow package-scoped logging at user-defined levels. Logs are at
ERROR by default, for critical errors which should be handled
by users.

More verbose logging may be enabled via combinations of environment
variables, e.g.
PIONS_LOG_TRACE=ice PIONS_LOG_DEBUG=pc,dtls PIONS_LOG_INFO=all <cmd>

Relates to #222
2018-12-30 11:15:34 -05:00