36 std::string_view extraHeader =
"");
47 std::error_code& ec, std::string_view extraHeader =
"");
56 std::string_view extraHeader =
"");
66 std::string_view extraHeader =
"");
92 bool BufferFull() final;
A data log for high-speed writing of data values.
Definition DataLog.h:70
A data log writer that flushes the data log to a file when Flush() is called.
Definition DataLogWriter.h:26
DataLogWriter(wpi::Logger &msglog, std::unique_ptr< wpi::raw_ostream > os, std::string_view extraHeader="")
Constructs with an output stream.
DataLogWriter(std::unique_ptr< wpi::raw_ostream > os, std::string_view extraHeader="")
Constructs with an output stream.
DataLogWriter(wpi::Logger &msglog, std::string_view filename, std::error_code &ec, std::string_view extraHeader="")
Construct with a filename.
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.
wpi::raw_ostream & GetStream()
Gets the output stream.
Definition DataLogWriter.h:89
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:43
Implement std::hash so that hash_code can be used in STL containers.
Definition PointerIntPair.h:280
Definition ntcore_cpp.h:31
Foonathan namespace.
Definition ntcore_cpp.h:26