Ilogger - Separate behaviour for user exposed and not exposed loggers
This commit is contained in:
committed by
abdullahtahiriyo
parent
e3702ac2d8
commit
a66e00d2a4
@@ -125,8 +125,10 @@ void GUIConsole::SendLog(const std::string& notifiername, const std::string& msg
|
||||
Base::IntendedRecipient recipient, Base::ContentType content)
|
||||
{
|
||||
(void) notifiername;
|
||||
(void) recipient;
|
||||
(void) content;
|
||||
|
||||
// Do not log translated messages, or messages intended only to the user to std log
|
||||
if(recipient == Base::IntendedRecipient::User || content == Base::ContentType::Translated)
|
||||
return;
|
||||
|
||||
switch(level){
|
||||
case Base::LogStyle::Warning:
|
||||
|
||||
Reference in New Issue
Block a user