@@ -25,6 +25,8 @@ Increment the:
25
25
[ #2627 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/2627 )
26
26
* [ PROTO] Upgrade to opentelemetry-proto v1.2.0
27
27
[ #2631 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/2631 )
28
+ * [ SDK] DefaultLogHandler to print errors to std::cerr, add LogLevel::None
29
+ [ #2622 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/2622 )
28
30
29
31
Important changes:
30
32
@@ -45,6 +47,23 @@ Important changes:
45
47
* As part of this change, the script ` ci/setup_cmake.sh ` was renamed
46
48
to ` ci/setup_googletest.sh ` , for clarity, now that this script
47
49
only installs googletest.
50
+ * [ SDK] DefaultLogHandler to print to std::cerr, add LogLevel::None
51
+ [ #2622 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/2622 )
52
+ * Change DefaultLogHandler output
53
+ * Before, the default internal logger, DefaultLogHandler,
54
+ used to print to std::cout.
55
+ * Now, DefaultLogHandler prints errors and warnings to std::cerr,
56
+ as expected, while printing info and debug messages to std::cout.
57
+ * Applications that expected to find the opentelemetry-cpp internal
58
+ error log in std::cout may need adjustments, either by looking
59
+ at std::cerr instead, or by using a custom log handler.
60
+ * Additional LogLevel::None
61
+ * LogLevel::None is a new supported log level, which does not print
62
+ any message.
63
+ * Custom log handlers may need to implement a new case, to avoid
64
+ compiler warnings.
65
+ * Numbering of log levels like OTEL_INTERNAL_LOG_LEVEL_ERROR
66
+ has changed, which requires to rebuild, as the SDK ABI differs.
48
67
49
68
## [ 1.14.2] 2024-02-27
50
69
0 commit comments