Data Structures | |
class | LogTemplates |
Typedefs | |
typedef Param3< string, string, string > | LogTemplate |
typedef int | LogTemplateID |
Functions | |
class LogTemplates | Log (string message, LogTemplateID template_id=0) |
Creates debug log (optional) from LogTemplate which are registred. | |
static private void | RegisterLogTamplate (LogTemplateID template_id, string author, string plugin, string label) |
static void | Init () |
static LogTemplate | GetTemplate (LogTemplateID template_id) |
void | LogInfo (string message, LogTemplateID template_id=0) |
Creates info log (optional) from LogTemplate which are registred. | |
void | LogWarning (string message, LogTemplateID template_id=0) |
Creates warning log (optional) from LogTemplate which are registred. | |
void | LogError (string message, LogTemplateID template_id=0) |
Creates error log (optional) from LogTemplate which are registred. | |
void | SQFPrint (string sqf_msg) |
void | SQFLog (string sqf_msg) |
Variables | |
static private ref map< LogTemplateID, ref LogTemplate > | m_LogTemplates |
static LogTemplateID | TEMPLATE_UNKNOWN = 0 |
static LogTemplateID | TEMPLATE_JANOSIK = 1 |
static LogTemplateID | TEMPLATE_PLAYER_WEIGHT = 2 |
static LogTemplateID | TEMPLATE_BROADCAST = 3 |
typedef Param3<string, string, string> LogTemplate |
typedef int LogTemplateID |
|
static |
|
static |
class LogTemplates Log | ( | string | message, |
LogTemplateID | template_id = 0 |
||
) |
Creates debug log (optional) from LogTemplate which are registred.
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Debug message for log |
void
Referenced by Debug(), UIPopupScript::OnClick(), PluginFileHandler::SaveParameter(), and SQFLog().
void LogError | ( | string | message, |
LogTemplateID | template_id = 0 |
||
) |
Creates error log (optional) from LogTemplate which are registred.
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Error message for log |
void
References LogTemplates::GetTemplate(), and Debug::LogError().
void LogInfo | ( | string | message, |
LogTemplateID | template_id = 0 |
||
) |
Creates info log (optional) from LogTemplate which are registred.
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Info message for log |
void
References LogTemplates::GetTemplate(), and Debug::LogInfo().
void LogWarning | ( | string | message, |
LogTemplateID | template_id = 0 |
||
) |
Creates warning log (optional) from LogTemplate which are registred.
template_id | LogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates" |
message | string Warning message for log |
void
References LogTemplates::GetTemplate(), and Debug::LogWarning().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |