29 std::function<
void(std::string_view)> callback);
50 static std::function<void(std::string_view)>
Buffer(
51 std::function<
void(std::string_view)> callback);
55 int m_fileHandle = -1;
56 int m_inotifyHandle = -1;
57 int m_inotifyWatchHandle = -1;
A class version of tail -f, otherwise known as tail -f at home.
Definition FileLogger.h:18
FileLogger(std::string_view file, std::function< void(std::string_view)> callback)
Construct a FileLogger.
static std::function< void(std::string_view)> Buffer(std::function< void(std::string_view)> callback)
Creates a function that chunks incoming data into blocks of whole lines and stores incomplete lines t...
FileLogger(FileLogger &&other)
FileLogger(std::string_view file, log::DataLog &log, std::string_view key)
Construct a FileLogger.
FileLogger & operator=(FileLogger &&rhs)
A data log for high-speed writing of data values.
Definition DataLog.h:70
Foonathan namespace.
Definition ntcore_cpp.h:26