Skip to content

Commit

Permalink
[user_events] Add force_flush to user_events logs exporter (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Jan 13, 2025
1 parent 5be4b76 commit a4d3681
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ class Exporter final : public opentelemetry::sdk::logs::LogRecordExporter
bool Shutdown(
std::chrono::microseconds timeout = (std::chrono::microseconds::max)()) noexcept override;

bool ForceFlush(
std::chrono::microseconds timeout = (std::chrono::microseconds::max)()) noexcept override {
// TODO: implement forceflush
return true;
}

bool isShutdown() const noexcept;

private:
Expand Down

0 comments on commit a4d3681

Please sign in to comment.