RCE.JS includes it's own logger for information, warnings, debugging and errors. You can learn how to configure the logger here!
Configuration
By default the logger is set to ignore debugging to keep your logs less clustered, however you can change how the logger works.
The following log levels are available to set:
None | Info | Warn | Error | Debug
None - this will completely disable the logger
Info - this will log all important information, include warnings and errors
Warn - this will log only warnings and errors
Error - this will only log errors
Debug - this is the highest logger level and will log everything including debugging
By default, the log level is Info when no value is provided
Log File
Optionally, you may also provide a file-name to log ALL content to, this is very useful for debugging! Simply provide a "file" parameter in the LoggerOptions.