[Logging] Add 'echo_localized'
This commit is contained in:
parent
fd1e3a1379
commit
1271b26dcf
1 changed files with 5 additions and 0 deletions
|
@ -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, ...)
|
||||
|
|
Loading…
Add table
Reference in a new issue