Go to the source code of this file.
◆ LogTemplate
◆ LogTemplateID
◆ GetTemplate()
Definition at line 109 of file LogTemplates.c.
124{
126
128}
129
131{
133}
134
136{
138}
void SQFPrint(string sqf_msg)
void SQFLog(string sqf_msg)
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
static LogTemplate GetTemplate(LogTemplateID template_id)
proto void Print(void var)
Prints content of variable to console/log.
◆ Init()
◆ Log()
Creates debug log (optional) from LogTemplate which are registred.
- Parameters
-
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Debug message for log |
- Returns
void
Definition at line 2 of file LogTemplates.c.
70{
72
74}
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Referenced by PluginBase::CheckInit(), Debug(), UIPopupScript::OnClick(), PluginFileHandler::SaveParameter(), and SQFLog().
◆ LogError()
◆ LogInfo()
Creates info log (optional) from LogTemplate which are registred.
- Parameters
-
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Info message for log |
- Returns
void
void LogInfo(string message, LogTemplateID template_id=0)
Creates info log (optional) from LogTemplate which are registred.
Definition at line 87 of file LogTemplates.c.
88{
90
92}
static void LogInfo(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
References LogTemplates::GetTemplate(), and Debug::LogInfo().
◆ LogWarning()
Creates warning log (optional) from LogTemplate which are registred.
- Parameters
-
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Warning message for log |
- Returns
void
Definition at line 105 of file LogTemplates.c.
106{
108
110}
static void LogWarning(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as warning message.
References LogTemplates::GetTemplate().
◆ RegisterLogTamplate()
◆ SQFLog()
◆ SQFPrint()
◆ m_LogTemplates
◆ TEMPLATE_BROADCAST
◆ TEMPLATE_JANOSIK
◆ TEMPLATE_PLAYER_WEIGHT
◆ TEMPLATE_UNKNOWN