|
NcEngine
|
Basic file logging implementation. Construct this on the stack in main() to reroute logging to a file. More...
#include <FileLogger.h>
Public Member Functions | |
| FileLogger (std::string_view logFilePath, size_t logMaxFileSize=DefaultMaxLogSize, size_t messageFlushCount=DefaultMessageFlushCount) | |
Public Member Functions inherited from nc::StableAddress | |
| StableAddress (const StableAddress &)=delete | |
| StableAddress (StableAddress &&)=delete | |
| StableAddress & | operator= (const StableAddress &)=delete |
| StableAddress & | operator= (StableAddress &&)=delete |
Static Public Attributes | |
| static constexpr auto | DefaultMaxLogSize = 1000000ull |
| static constexpr auto | DefaultMessageFlushCount = 20ull |
Basic file logging implementation. Construct this on the stack in main() to reroute logging to a file.