This repository was archived by the owner on Dec 23, 2023. It is now read-only.
Commit e35df43
authored
Hide methods in OpenCensusTraceLoggingEnhancer that aren't necessary currently. (#1538)
Code that creates or uses OpenCensusTraceLoggingEnhancer probably won't know its
type, so it will only call the no-arg constructor and 'enhanceLogEntry'. This
commit hides the other methods in the class, create(String) and getProjectId().
They can be re-exposed in the future if necessary.1 parent 71dba4a commit e35df43
File tree
2 files changed
+8
-23
lines changed- contrib/log_correlation/stackdriver/src
- main/java/io/opencensus/contrib/logcorrelation/stackdriver
- test/java/io/opencensus/contrib/logcorrelation/stackdriver
2 files changed
+8
-23
lines changedLines changed: 4 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 72 | | |
83 | 73 | | |
84 | 74 | | |
| |||
94 | 84 | | |
95 | 85 | | |
96 | 86 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 87 | + | |
| 88 | + | |
104 | 89 | | |
105 | 90 | | |
106 | 91 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments