#include <log_internal.h>
Inheritance diagram for FileLogOutput:
Collaboration diagram for FileLogOutput:Public Member Functions | |
| void | setFile (const std::string &filename, s64 file_size_max) |
| void | logRaw (LogLevel lev, std::string_view line) |
Public Member Functions inherited from ICombinedLogOutput | |
| void | log (LogLevel lev, const std::string &combined, const std::string &time, const std::string &thread_name, std::string_view payload_text) |
Private Attributes | |
| std::ofstream | m_stream |
|
inlinevirtual |
Implements ILogOutput.
References m_stream.
| void FileLogOutput::setFile | ( | const std::string & | filename, |
| s64 | file_size_max ) |
References actionstream, fs::DeleteSingleFileOrEmptyDirectory(), m_stream, fs::OpenStream(), and fs::Rename().
Referenced by init_log_streams().
Here is the call graph for this function:
Here is the caller graph for this function: