[Logging] Add 'echo_localized'

This commit is contained in:
Azumgi 2018-09-15 16:58:55 +03:00
parent fd1e3a1379
commit 1271b26dcf

View file

@ -78,6 +78,11 @@ function VMFMod:echo(message, ...)
log_message(self, "echo", message, ...)
end
end
function VMFMod:echo_localized(message, ...)
if _logging_settings.echo.enabled then
log_message(self, "echo", self:localize(message, ...))
end
end
function VMFMod:error(message, ...)