mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add a third log output interface method
This commit is contained in:
parent
c449e5f20a
commit
013921782b
2 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,8 @@ class ILogOutput
|
|||
public:
|
||||
/* line: Full line with timestamp, level and thread */
|
||||
virtual void printLog(const std::string &line){};
|
||||
/* line: Full line with timestamp, level and thread */
|
||||
virtual void printLog(const std::string &line, enum LogMessageLevel lev){};
|
||||
/* line: Only actual printed text */
|
||||
virtual void printLog(enum LogMessageLevel lev, const std::string &line){};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue