76 Commits

Author SHA1 Message Date
Paul Wells
2f88c4e7a5 skip logging redacted fields with zero values (#1338)
* skip logging redacted fields with zero values

* skip nil messages

* Create good-jeans-check.md
2025-12-16 22:53:16 -08:00
Paul Wells
f0795cb67a fix call depth for override logger (#1313)
* fix call depth for override logger

* Create blue-pandas-reply.md
2025-11-19 21:27:42 -08:00
Paul Wells
2c70a99e71 add redact format option (#1308)
* add redact format option

* tidy

* generated protobuf

* Create yellow-apples-punch.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-15 22:57:52 -08:00
Paul Wells
0338cf3a92 add option to redact protobuf fields (#1284)
* add option to redact protobuf fields

* Create sharp-dolphins-help.md

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 13:52:58 -08:00
Denys Smirnov
447935f698 Testing logger improvements (#1273)
* Allow setting testing log level.

* Do not log after test ends.
2025-10-25 13:11:00 +03:00
zesun96
b8ed90b666 Added the UnlikelyLogger constructor (#1169) 2025-08-17 16:41:20 -07:00
Nishad
cbe6299a84 Revert "Move uploader code from Egress (#1108)" (#1116)
This reverts commit 6871633f90.
2025-06-20 14:54:55 -07:00
Benjamin Pracht
6871633f90 Move uploader code from Egress (#1108) 2025-06-13 19:32:18 -07:00
Denys Smirnov
c8f416a2e6 Do not import testing in the package context. (#1079) 2025-06-04 12:12:46 +03:00
Raja Subramanian
5cd9017156 Deffered logger control interface (#1073)
* Deffered logger control interface

* add test

* return no-op deferrer
2025-05-14 17:52:19 +05:30
Paul Wells
e56b82911f merge deferred log fields (#1070)
* merge deferred log fields

* tidy

* Create angry-seas-beg.md
2025-05-12 06:57:53 -07:00
Paul Wells
86628c07da allow extending pion log filter (#1064) 2025-05-05 21:13:05 -07:00
Steve Yoon
2877dc968f add test logger (#1055) 2025-04-28 19:24:06 -04:00
Paul Wells
604983dcd5 allow rewriting deferred logger values (#1053)
* allow rewriting deferred logger values

* tidy

* Create clever-cats-run.md

* avoid lock

* tidy
2025-04-23 21:05:26 -07:00
David Colburn
549a29a812 downgrade gstreamer property assertions (#1009)
* downgrade gstreamer property assertions

* simplify
2025-03-12 00:10:09 -04:00
David Colburn
39426dfb28 downgrade all turn, ice, and sdk errors (#1003) 2025-03-10 00:15:19 -04:00
David Colburn
7d8d588f75 simplify again (#997) 2025-03-03 20:22:49 -05:00
David Colburn
c4a3f3cef1 Split logs combined by stdout, support dev (#996)
* split lines

* add non-json support

* s -> line
2025-03-03 05:41:55 -05:00
David Colburn
b007d0efe4 remove nil key (#994)
* remove nil key

* also ignore audio template not mapped warnings
2025-03-02 21:43:58 -05:00
Benjamin Pracht
e8f463c43a Allow selecting the base logger used by the OverrideLogger (#991) 2025-02-27 09:57:32 -08:00
Benjamin Pracht
9a2ec49faa Move media related logging utilities from egress to protocol (#990) 2025-02-26 13:11:51 -08:00
Paul Wells
c8871c4e1c add client observability middleware helper (#970) 2025-02-07 14:33:56 -08:00
Paul Wells
7b5c5cd3dd add GetAndSet to bitmap (#942)
* add GetAndSet to bitmap

* cleanup

* benchmark GetAndSet
2025-01-11 11:13:11 -08:00
Paul Wells
318cb1a947 update zapslog (#873) 2024-10-26 08:34:30 -07:00
Paul Wells
37cb4c8b25 add monotonic time util (#860)
* add monotonic time util

* unixmicro

* fromtime
2024-10-16 08:59:12 -07:00
Paul Wells
6e7157c500 fix logger callers (#850) 2024-10-12 23:26:06 -07:00
Paul Wells
38527a8685 fix unlikely logger call depth (#849)
* fix unlikely logger call depth

* mute test
2024-10-11 08:29:06 -07:00
Paul Wells
b2c7ca3114 add proto/time/duration slice loggers (#842) 2024-10-08 04:07:13 -07:00
Paul Wells
fbcc09c9c9 add type specializations for slice logging (#841) 2024-10-08 03:18:54 -07:00
Paul Wells
603b677f79 update agent job count type (#835)
* udpate agent job count type

* generated protobuf

* move object slice

* license

* errs

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-05 05:06:43 -07:00
Paul Wells
ec3b682c05 add zap object marshaler slice helper (#836) 2024-10-04 22:05:46 -07:00
Paul Wells
0d1d47f817 fix logger value passing (#832) 2024-10-04 00:11:04 -07:00
Paul Wells
b216a9275d add unlikely logger (#829) 2024-10-02 22:29:59 -07:00
Paul Wells
1ac3b74d03 clean up unused utils (#819)
* clean up unused utils

* cleanup
2024-09-20 23:07:11 -07:00
Paul Wells
72c0789f38 allow setting min log level for logger (#705)
* allow setting min log level for logger

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-06 22:22:14 -07:00
Denys Smirnov
151d757a97 Expose Logger constructor for Zap (#701)
* Expose Logger constructor for Zap.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-01 13:27:48 +03:00
Paul Wells
e418881086 refactor pion prefix matching (#691) 2024-04-20 12:52:47 -07:00
Paul Wells
91a1cc854d lazily initialize pion loggers (#689)
* lazily initialize pion loggers

* cleanup
2024-04-18 19:00:32 -07:00
Denys Smirnov
e2c0cf8043 Support for converting Logger into slog.Handler. (#668)
This change allows to take an existing Logger and convert it into slog.Handler.

New ToSlogHandler function will check if the Logger implementation is a known one (Zap or Logr) and will convert it with package-specific functions.
2024-03-27 01:23:19 +02:00
David Zhao
da55a5e169 Update to xsync v3 (#639) 2024-03-10 13:05:29 -07:00
Paul Wells
50165a956a add departure timeout to room (#625) 2024-03-05 07:54:36 -08:00
Paul Wells
3339e807ff add caller to log output (#620)
* fix log caller

* add test for log output
2024-02-26 08:38:55 -08:00
Paul Wells
4a97b58328 reduce logger heap objects (#618)
* reduce logger heap objects

* deps
2024-02-26 05:35:35 -08:00
Paul Wells
19dc977fde reuse zap logger stderr lock (#617)
* reuse zap logger stderr lock

* typo
2024-02-25 13:10:13 -08:00
Paul Wells
50cd638fea add stack traces to error logs (#614) 2024-02-23 01:26:09 -08:00
Paul Wells
0293e1ec08 log caller (#610)
* log caller

* fix depth
2024-02-21 14:43:29 -08:00
Paul Wells
a9e0faf6f0 allow intercepting logging (#609)
* allow intercepting logging

* roll back nats
2024-02-20 20:46:29 -08:00
Paul Wells
ce67e4e290 simplify deferred logger flush (#563)
* simplify deferred logger flush

* test

* test
2024-01-03 00:23:31 -08:00
Paul Wells
e9e5fcd7d3 fix typo (#553) 2023-12-21 02:03:46 -08:00
Paul Wells
b038d892cb add deferred logger (#551) 2023-12-20 23:02:43 -08:00