CRI ADX
Last Updated: 2024-07-17 10:47 p
|
The "debug" module is a module that manages the functions for outputting logs.
Module name
The following functions are defined as:
Function | Description | Operation object |
---|---|---|
clear_log | Clear the log views | - |
get_script_argument | Gets the arguments from the command lines | - |
get_tool_version | Gets the version of Atom Craft | - |
log | Outputs logs | - |
ping | Remains unchanged | - |
warning | Outputs a warning message | - |
Log Clear all the views.
This function was added in Ver.3.46.04.
None
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |
Gets the arguments passed using -scriptargument
from the command lines.
This function is used from the command lines.
If no argument is given, an empty string is returned.
This function was added in Ver.3.45.00.
None
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |
result [ "data" ] | Use the argument string provided by -scriptargument |
Gets the version of Atom Craft in use.
The value will be returned in this format: "Ver.(Major).(Minor).(Patch)", e.g., "Ver.3.46.04".
This function was added in Ver.3.46.04.
None
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |
result [ "data" ] | Version string |
Outputs the log.
For warning logs, use warning function instead.
Name | Value |
---|---|
message | Message text |
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |
Remains unchanged.
It does not make any changes to the project.
Usually, the execution result will be True
regardless of the contents of the current project file.
It will be False
if there is a problem in the API execution itself due to connection error.
None
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |
Outputs warning.
Use the log function instead if warning is not needed.
Name | Value |
---|---|
message | Message text |
Name | Value |
---|---|
result [ "succeed" ] | True if succeeded, False if failed |