1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-28 21:09:17 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Tyler Yahn
6ea99afaa0
log: Add benchmark tests (#4958) 2024-02-22 18:15:43 +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
Robert Pająk
c2fdbcaea8
design: log value accessors must not panic (#4948) 2024-02-21 07:02:08 +01:00
Tyler Yahn
dd3b00f682
Add the log/noop package (#4943)
* Add the `log/noop` package

* Add implementation tests

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-20 08:16:07 -08:00
Tyler Yahn
b62df520ff
Implement the log Record type (#4939) 2024-02-19 14:08:41 +01:00
Tyler Yahn
d423033b1f
Test Severity const match OTel spec (#4938)
Resolve #4912
2024-02-19 13:47:24 +01:00
Tyler Yahn
e3e8879eb3
Implement the LoggerConfig and add the LoggerOptions (#4937)
* Implement the LoggerConfig

* Add the LoggerOptions

* Add NewLoggerConfig test
2024-02-18 08:13:42 -08:00
Tyler Yahn
6e2bfb69ed
Rename log List value type to Slice (#4936) 2024-02-18 08:08:28 -08:00
Tyler Yahn
59413575e4
Update otel/log package docs (#4935) 2024-02-18 08:01:24 -08:00
Tyler Yahn
48bb3c8642
Add the log/embedded package (#4932)
* Add the log/embedded package

* Embed the Logger and LoggerProvider types
2024-02-18 07:51:13 -08:00
Charlie Le
693eb7dbbb
Fix typos in docs and comments (#4940)
Ignoring words that would have renamed

- nam. -> name
- ans -> and
2024-02-17 13:36:41 +01:00
Tyler Yahn
d3dcb3999c
Add initial Logs Bridge API scaffolding (#4907)
* Add go.mod

* Exclude otel/log in versions.yaml

* Add package documentation stub

* Update dependabot config

* Add initial log API scaffolding
2024-02-16 07:09:58 -08:00
Tyler Yahn
e8973b75b2
[docs] Log design fix (#4918)
Add missing return type to String func.
2024-02-13 15:47:56 -08:00
Robert Pająk
c921815474
log: Add design doc (#4809) 2024-02-09 08:27:38 +01:00