Logging - TheNuclearNexus/SmithedLibDocs GitHub Wiki

The logging function allows you to create nicely formatted messages with level based display.

Setup

The storage

  1. Merge the data into storage
data merge storage smd:crafter {message:'<json>',level:<minLevel>,type:'INFO'|'WARNING'|'ERROR'}
  1. Call the function
function smithed:core/technical/tools/log

Additional Help

Code Snippets

You can find code snippets for VSCode here. If you need help installing code snippets go to this page

⚠️ **GitHub.com Fallback** ⚠️