First of all thanks for considering AdonisJs. This guide will help you on how to make your contribution to the framework core or create supported add-ons to be used by everyone.
Writing a new module to be used by everyone comes with great responsibility. You can create any modules for AdonisJs as you want, but if you want them to be considered and recommended by the core team, we suggest to read the following points.
Debugging is mainly done when developing the application and as a developer one wants to see what all actions are taken by the 3rd party modules. It is recommended to make use of debug for adding debug statements to your code.
Whereas logging is done on production under the app code to make sure all exceptions or unexpected behaviour is caught. Adonis cat-log will be used for that and any module should not make use of cat-log.
Happy coding 🚀