36 std::string_view extraHeader =
"");
47 std::error_code& ec, std::string_view extraHeader =
"");
56 std::string_view extraHeader =
"");
66 std::unique_ptr<wpi::util::raw_ostream> os,
67 std::string_view extraHeader =
"");
DataLog(const DataLog &)=delete
virtual bool BufferFull()=0
Called when internal buffers reach the maximum count.
wpi::util::raw_ostream & GetStream()
Gets the output stream.
Definition DataLogWriter.hpp:90
DataLogWriter(wpi::util::Logger &msglog, std::string_view filename, std::error_code &ec, std::string_view extraHeader="")
Construct with a filename.
DataLogWriter(std::unique_ptr< wpi::util::raw_ostream > os, std::string_view extraHeader="")
Constructs with an output stream.
DataLogWriter(wpi::util::Logger &msglog, std::unique_ptr< wpi::util::raw_ostream > os, std::string_view extraHeader="")
Constructs with an output stream.
void Flush() final
Flushes the log data to disk.
DataLogWriter(std::string_view filename, std::error_code &ec, std::string_view extraHeader="")
Constructs with a filename.
void Stop() final
Stops appending all records to the log, and closes the log file.
Definition StringMap.hpp:773
Definition DataLogReader.hpp:17
Definition raw_os_ostream.hpp:19
Definition CvSource.hpp:15