Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
TermLogOutput Class Reference

#include <terminal_chat_console.h>

+ Inheritance diagram for TermLogOutput:
+ Collaboration diagram for TermLogOutput:

Public Member Functions

void logRaw (LogLevel lev, const std::string &line)
 
virtual void log (LogLevel lev, const std::string &combined, const std::string &time, const std::string &thread_name, const std::string &payload_text)
 
virtual void logRaw (LogLevel, const std::string &line)=0
 
virtual void log (LogLevel, const std::string &combined, const std::string &time, const std::string &thread_name, const std::string &payload_text)=0
 

Public Attributes

MutexedQueue< std::pair< LogLevel, std::string > > queue
 

Member Function Documentation

◆ log()

virtual void TermLogOutput::log ( LogLevel  lev,
const std::string &  combined,
const std::string &  time,
const std::string &  thread_name,
const std::string &  payload_text 
)
inlinevirtual

Implements ILogOutput.

References MutexedQueue< T >::push_back(), and queue.

+ Here is the call graph for this function:

◆ logRaw()

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

Implements ILogOutput.

References MutexedQueue< T >::push_back(), and queue.

+ Here is the call graph for this function:

Member Data Documentation

◆ queue

MutexedQueue<std::pair<LogLevel, std::string> > TermLogOutput::queue

Referenced by log(), and logRaw().


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