/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Core/Scripting/ScriptClasses/ScriptExtensionClass_Log.h
19 строк
732 B
Jan Krassnigg
Improved code documentation: Core, Texture, Utilities (#1666)
23 сен 2025, 09:56
Не верифицирован
23 сен 2025, 09:56
a9f6901
Код
Авторство
О чём код?
#pragma once #include <Core/CoreDLL.h> #include <Foundation/Reflection/Reflection.h> /// Script extension class providing logging functionality from scripts. /// /// Allows scripts to output formatted log messages at different severity levels. /// Messages are sent to the standard ezEngine logging system and will appear /// in the console, log files, and other registered log writers. class EZ_CORE_DLL ezScriptExtensionClass_Log { public: static void Info(ezStringView sText, const ezVariantArray& params); static void Warning(ezStringView sText, const ezVariantArray& params); static void Error(ezStringView sText, const ezVariantArray& params); }; EZ_DECLARE_REFLECTABLE_TYPE(EZ_CORE_DLL, ezScriptExtensionClass_Log);