Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 0aef639

Browse files
authored
Update Javadoc "since" tags in log correlation libraries. (#1539)
0.17 is the first non-experimental release, and it has some breaking changes, so so we should reset the "since" tags to 0.17.
1 parent e35df43 commit 0aef639

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/OpenCensusTraceContextDataInjector.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* <li><code>%X{traceSampled}</code>
4949
* </ul>
5050
*
51-
* @since 0.16
51+
* @since 0.17
5252
* @see <a
5353
* href="https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/ContextDataInjector.html">org.apache.logging.log4j.core.ContextDataInjector</a>
5454
*/
@@ -57,28 +57,28 @@ public final class OpenCensusTraceContextDataInjector implements ContextDataInje
5757
/**
5858
* Context key for the current trace ID. The name is {@value}.
5959
*
60-
* @since 0.16
60+
* @since 0.17
6161
*/
6262
public static final String TRACE_ID_CONTEXT_KEY = "traceId";
6363

6464
/**
6565
* Context key for the current span ID. The name is {@value}.
6666
*
67-
* @since 0.16
67+
* @since 0.17
6868
*/
6969
public static final String SPAN_ID_CONTEXT_KEY = "spanId";
7070

7171
/**
7272
* Context key for the sampling decision of the current span. The name is {@value}.
7373
*
74-
* @since 0.16
74+
* @since 0.17
7575
*/
7676
public static final String TRACE_SAMPLED_CONTEXT_KEY = "traceSampled";
7777

7878
/**
7979
* Constructor to be called by Log4j.
8080
*
81-
* @since 0.16
81+
* @since 0.17
8282
*/
8383
public OpenCensusTraceContextDataInjector() {}
8484

contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/OpenCensusTraceLoggingEnhancer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
/**
3030
* Stackdriver {@link LoggingEnhancer} that adds OpenCensus tracing data to log entries.
3131
*
32-
* @since 0.15
32+
* @since 0.17
3333
*/
3434
public final class OpenCensusTraceLoggingEnhancer implements LoggingEnhancer {
3535

3636
/**
3737
* Name of the property that overrides the default project ID (overrides the value returned by
3838
* {@code com.google.cloud.ServiceOptions.getDefaultProjectId()}). The name is {@value}.
3939
*
40-
* @since 0.15
40+
* @since 0.17
4141
*/
4242
public static final String PROJECT_ID_PROPERTY_NAME =
4343
"io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.projectId";
@@ -57,7 +57,7 @@ public final class OpenCensusTraceLoggingEnhancer implements LoggingEnhancer {
5757
* can be specified with a {@link java.util.logging} property or a system property, with
5858
* preference given to the logging property.
5959
*
60-
* @since 0.15
60+
* @since 0.17
6161
*/
6262
public OpenCensusTraceLoggingEnhancer() {
6363
this(lookUpProjectId());

0 commit comments

Comments
 (0)