webrtc/net/dcsctp
Victor Boivie 4fbf555989 dcsctp: Make use of log_prefix consistent
The log_prefix frequently used in dcSCTP is intended to be used
to separate logs from different sockets within the same log output,
typically in unit tests. Every log entry always has the file and
line, so it's not important to add more information to the log prefix
that indicates _where_ it's logged. So those have been removed.

Also, since log_prefix is a string (typically 32 bytes) and it's
never changing during the lifetime of the socket, pass and store it
as a absl::string_view to save memory.

Bug: None
Change-Id: I10466710ca6c2badfcd3adc5630426a90ca74204
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274704
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39571}
2023-03-15 22:15:05 +00:00
..
common [Unwrap] Migrate dcsctp sequence numbers to SeqNumUnwrapper 2023-01-12 12:00:30 +00:00
fuzzers dcsctp: Generate lifecycle events 2022-07-06 08:04:15 +00:00
packet Fix several UBsan issues with memcpy 2022-09-14 09:35:39 +00:00
public dcsctp: Expose negotiated stream counts 2022-08-23 08:51:38 +00:00
rx dcsctp: Make use of log_prefix consistent 2023-03-15 22:15:05 +00:00
socket dcsctp: Make use of log_prefix consistent 2023-03-15 22:15:05 +00:00
testing Remove dependency on rtc_base_approved from most targets 2022-04-25 12:15:30 +00:00
timer Implement support for Chrome task origin tracing. #3.5/4 2023-03-01 11:11:37 +00:00
tx dcsctp: Make use of log_prefix consistent 2023-03-15 22:15:05 +00:00
BUILD.gn dcsctp: Add socket fuzzer helper 2021-05-12 15:06:17 +00:00
OWNERS dcsctp: Add OWNERS file 2021-04-20 10:42:58 +00:00