aboutsummaryrefslogtreecommitdiff
path: root/absl/log/log_format_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Encode some additional metadata when writing protobuf-encoded logs.Andy Getzendanner2024-07-031-353/+321
| | | | | PiperOrigin-RevId: 649138261 Change-Id: I8687eb7b06cc9e96779d1d3e98b44b4f643c95a8
* Disable negative NaN float ostream format checking on RISC-VBenjamin Barenblat2024-06-101-0/+14
| | | | | | | | | | | It’s not clear whether negative NaN floats are supposed to print as "-nan" or "nan" on RISC-V (https://cplusplus.github.io/LWG/issue4101). Until that’s resolved, don’t require that logging such a float with Abseil produce the same result as streaming it to an ostream does. Closes: https://github.com/abseil/abseil-cpp/issues/1684 PiperOrigin-RevId: 641942176 Change-Id: Iec7ef130cc15c114714f2d124cb37886b3c37ab4
* Use NullGuard for signed and unsigned char pointer types, and extend ↵Andy Getzendanner2023-01-131-9/+14
| | | | | | | volatile pointer type testcase to char pointers. PiperOrigin-RevId: 501781539 Change-Id: I99012cecd960745de8a921b96671cde42e28a3af
* Fix a -Wsign-conversion and some -Wshorten-64-to-32.Andy Getzendanner2022-12-191-5/+6
| | | | | PiperOrigin-RevId: 496397075 Change-Id: Ib44467cf5704b9147c7fd197e8343a666fada1c3
* Zero encoded_remaining when a string field doesn't fit, so that we don't ↵Andy Getzendanner2022-11-211-23/+211
| | | | | | | leave partial data in the buffer (all decoders should ignore it anyway) and to be sure that we don't try to put any subsequent operands in either (there shouldn't be enough space). PiperOrigin-RevId: 490143656 Change-Id: I4d743dd9214013fbd151478ef662d50affd5ff7a
* Release structured logging.Andy Getzendanner2022-11-171-30/+43
| | | | | | | This stores the operands to LOG (and CHECK) as separate fields in a serialized protobuf. The protobuf format is not yet published. PiperOrigin-RevId: 489275799 Change-Id: I86d83671a6b1feb2bddd5bee51552907897ca8eb
* Minor formatting changes in preparation for structured logging...Andy Getzendanner2022-11-161-9/+10
| | | | | PiperOrigin-RevId: 489044912 Change-Id: I1657dd60bcfa2d0fb4b889f27f4f237325b73f08
* Narrow some _MSC_VER checks to not catch clang-cl.Andy Getzendanner2022-11-041-11/+19
| | | | | PiperOrigin-RevId: 486227733 Change-Id: If492d715e5758971cf7bd0ccd748b47b1424a3c7
* Support logging of user-defined types that implement `AbslStringify()`Phoebe Liang2022-11-021-0/+131
| | | | | | | | | If a user-defined type has `AbslStringify()` defined, it will always be used for logging over `operator<<`. `HasAbslStringify` now uses the empty class `UnimplementedSink` for its checks instead of `StringifySink` in order to make it work in cases involving other sinks. PiperOrigin-RevId: 485710377 Change-Id: Ibdd916151c7abc3269c35fbe79b772867f3d25e1
* Fix "unsafe narrowing" warnings in absl, 11/n.Abseil Team2022-10-061-1/+1
| | | | | | | | | | | | | | | Addresses failures with the following, in some files: -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare (This specific CL focuses on the logging facility.) Bug: chromium:1292951 PiperOrigin-RevId: 479384741 Change-Id: Id450438ea3781ce25137366ca16757e810020ad4
* Release the Abseil Logging libraryGennadiy Rozental2022-08-251-0/+1525
PiperOrigin-RevId: 470080638 Change-Id: I8d9ddfabc7704c383ed5a73abf0411f4c58a4bf7