Logging

 

void LogDebug(message: string);

Adds a message to the logger in the 'debug' category

Parameters

NameTypeDescription
messageStringThe string value that is to be written to the logger

Return Value - void.

 

Example:

LogDebug("This is a debug log.");

void LogInfo(message: string);

Adds a message to the logger in the 'info' category

Parameters

NameTypeDescription
messageStringThe string value that is to be written to the logger

Return Value - void.

 

Example:

LogInfo("This is an info log.");

void LogWarning(message: string);

Adds a message to the logger in the 'warning' category

Parameters
NameTypeDescription
messageStringThe string value that is to be written to the logger

Return Value - void.

 

Example:

LogWarning("This is a warning log.");

void LogError(message: string);

Adds a message to the logger in the category of error

Parameters
NameTypeDescription
messageStringThe string value that is to be written to the logger

Return Value - void.

 

Example:

LogError("This is an error log.");