Logging - TheNuclearNexus/SmithedLibDocs GitHub Wiki
The logging function allows you to create nicely formatted messages with level based display.
- Merge the data into storage
data merge storage smd:crafter {message:'<json>',level:<minLevel>,type:'INFO'|'WARNING'|'ERROR'}
- Call the function
function smithed:core/technical/tools/log
You can find code snippets for VSCode here. If you need help installing code snippets go to this page