Robert Pająk
e6e44dee90
log: Add String method to Value and KeyValue ( #5117 )
2024-04-02 10:50:07 +02:00
Sam Xie
47ac0d4df8
logs: Add empty value for KeyValue ( #5076 )
...
* Add empty value for KeyValue
* Update CHANGELOG
* Apply suggestions from code review
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Fix comments
* Update log/keyvalue.go
Co-authored-by: Damien Mathieu <42@dmathieu.com>
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-03-15 07:52:24 -07:00
Robert Pająk
7dea232a46
[chore] Simplify the license header ( #4987 )
2024-02-29 07:05:28 +01:00
Tyler Yahn
22a4f9cc55
Export internal/global.getLogger
( #4969 )
...
* Export getLogger
Refactor the declaration of globalLogger to incorporate the logic of
init() so there is no data race between GetLogger and init being called.
* Use GetLogger in log testing
* Restore logger in batch span processor testing
* Remove unused URL in globalLogger doc
2024-02-25 07:27:44 -08:00
Tyler Yahn
8df89f6aff
log: Remove Value.AsAny ( #4963 )
2024-02-22 20:56:07 +01:00
Tyler Yahn
7cc660fc0f
log: Add allocation tests ( #4957 )
2024-02-22 20:47:40 +01:00
Tyler Yahn
7b3382e4dc
log: Implement Value and KeyValue types ( #4949 )
...
* Implement `Value` and `KeyValue`
* Add tests for `Value` and `KeyValue`
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-21 13:19:41 -08:00