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

Commit c76e8b5

Browse files
authored
StdOut -> Stdout to make trace/ consistent with stats. (#35)
1 parent 2c2f1a9 commit c76e8b5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

opencensus/exporters/trace/stdout_exporter.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ namespace opencensus {
2323
namespace exporters {
2424
namespace trace {
2525

26-
void StdOutExporter::Export(
26+
void StdoutExporter::Export(
2727
const std::vector<::opencensus::trace::exporter::SpanData>& spans) {
2828
for (const auto& span : spans) {
2929
std::cout << span.DebugString() << "\n";
3030
}
3131
}
3232

33-
void StdOutExporter::Register() {
33+
void StdoutExporter::Register() {
3434
::opencensus::trace::exporter::SpanExporter::RegisterHandler(
35-
absl::make_unique<StdOutExporter>());
35+
absl::make_unique<StdoutExporter>());
3636
}
3737

3838
} // namespace trace

opencensus/exporters/trace/stdout_exporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace opencensus {
2424
namespace exporters {
2525
namespace trace {
2626

27-
class StdOutExporter
27+
class StdoutExporter
2828
: public ::opencensus::trace::exporter::SpanExporter::Handler {
2929
public:
3030
void Export(const std::vector<::opencensus::trace::exporter::SpanData>& spans)

opencensus/exporters/trace/stdout_exporter_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TraceExporterTest : public ::testing::Test {
2929
TraceExporterTest() {}
3030

3131
protected:
32-
StdOutExporter handler_;
32+
StdoutExporter handler_;
3333
};
3434

3535
TEST_F(TraceExporterTest, ExportTrace) {

0 commit comments

Comments
 (0)