Module Debugging
When you use the console in your module the GetiyoModuleTool will automatically convert them into internal logs. The server-side logs are directly printed to the console but the page logs are hidden by default. If you want to view the logs open the page with the debug= url parameter followed one or more module ids or module types separated by a comma. You can also use a * to show all logs.
If you did not open the page with the debug parameter, or if you want to view all logs even if they were not filtered by the debug parameter values, you can run ModuleLogs.writeOut() to write out all the logs since the page load.
Example
Show logs of all DemoModule
http://serverIp:4080/:CHANNELNAME?debug=demomodule
Show logs of all DemoModule & TestModule
http://serverIp:4080/:CHANNELNAME?debug=demomodule,testmodule
Show logs a specific module
http://serverIp:4080/:CHANNELNAME?debug=8K20FK5JSK
Getting Started
Module Development
- Introduction
- V2 Module Structure
- V1 Module Structure
- Development environment/Building
- Module Config
- Module Debugging
- GetiyoModuleTool
- Bug/Feature Reporting
- Contact Details
ModuleServerAPI
ModuleServerAPI GameLib
ModuleClientAPI
ModuleApi Shared
© Vix Entertainment 2023 - © Mooren Productief 2023 - All rights reserved