Minetest  5.4.0
FileLogOutput Class Reference

#include <log.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, const std::string &line)
 
- Public Member Functions inherited from ICombinedLogOutput
void log (LogLevel lev, const std::string &combined, const std::string &time, const std::string &thread_name, const std::string &payload_text)
 

Private Attributes

std::ofstream m_stream
 

Member Function Documentation

◆ logRaw()

void FileLogOutput::logRaw ( LogLevel  lev,
const std::string &  line 
)
inlinevirtual

Implements ILogOutput.

References m_stream.

◆ setFile()

void FileLogOutput::setFile ( const std::string &  filename,
s64  file_size_max 
)

References actionstream, and m_stream.

Referenced by init_log_streams().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_stream

std::ofstream FileLogOutput::m_stream
private

Referenced by logRaw(), and setFile().


The documentation for this class was generated from the following files: