Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
logtemplates.c File Reference

Go to the source code of this file.

Classes

class  LogTemplates
 

Typedefs

typedef Param3< string, string, stringLogTemplate
 
typedef int LogTemplateID
 

Functions

class LogTemplates Log (string message, LogTemplateID template_id=0)
 Creates debug log (optional) from LogTemplate which are registred.
 
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)
 

Typedef Documentation

◆ LogTemplate

Definition at line 1 of file logtemplates.c.

◆ LogTemplateID

typedef int LogTemplateID

Definition at line 2 of file logtemplates.c.

Function Documentation

◆ Log()

class LogTemplates Log ( string message,
LogTemplateID template_id = 0 )

Creates debug log (optional) from LogTemplate which are registred.

Parameters
template_idLogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates"
messagestring Debug message for log
Returns
void
Log("This is some debug log message", TEMPLATE_JINDRICH);
>> output to scriptExt.log (for GamutLogViewer)
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.

Definition at line 2 of file logtemplates.c.

◆ LogError()

void LogError ( string message,
LogTemplateID template_id = 0 )

Creates error log (optional) from LogTemplate which are registred.

Parameters
template_idLogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates"
messagestring Error message for log
Returns
void
LogT(TEMPLATE_JINDRICH, "This is some error log message");
>> output to scriptExt.log (for GamutLogViewer)

Definition at line 129 of file logtemplates.c.

◆ LogInfo()

void LogInfo ( string message,
LogTemplateID template_id = 0 )

Creates info log (optional) from LogTemplate which are registred.

Parameters
template_idLogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates"
messagestring Info message for log
Returns
void
LogInfo("This is some info log message", TEMPLATE_JINDRICH);
>> output to scriptExt.log (for GamutLogViewer)
void LogInfo(string message, LogTemplateID template_id=0)
Creates info log (optional) from LogTemplate which are registred.

Definition at line 93 of file logtemplates.c.

◆ LogWarning()

void LogWarning ( string message,
LogTemplateID template_id = 0 )

Creates warning log (optional) from LogTemplate which are registred.

Parameters
template_idLogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates"
messagestring Warning message for log
Returns
void
LogT(TEMPLATE_JINDRICH, "This is some warning log message");
>> output to scriptExt.log (for GamutLogViewer)

Definition at line 111 of file logtemplates.c.

◆ SQFLog()

void SQFLog ( string sqf_msg)

Definition at line 141 of file logtemplates.c.

◆ SQFPrint()

void SQFPrint ( string sqf_msg)

Definition at line 136 of file logtemplates.c.