Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
logtemplates.c File Reference

Go to the source code of this file.

Data Structures

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. More...
 
void LogInfo (string message, LogTemplateID template_id=0)
 Creates info log (optional) from LogTemplate which are registred. More...
 
void LogWarning (string message, LogTemplateID template_id=0)
 Creates warning log (optional) from LogTemplate which are registred. More...
 
void LogError (string message, LogTemplateID template_id=0)
 Creates error log (optional) from LogTemplate which are registred. More...
 
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)

Definition at line 75 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)

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.

LogInfo
void LogInfo(string message, LogTemplateID template_id=0)
Creates info log (optional) from LogTemplate which are registred.
Definition: logtemplates.c:93
Log
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.
Definition: logtemplates.c:75