console ‐ Basic Console Messaging - cobocombo/Scriptit-Core GitHub Wiki
Module to add different messages to both the web & Xcode consoles.
Methods
- error (message): Log errors to the console.
- debug (message): Log debug statements to the console.
- log (message): Log basic information to the console.
- warn (message): Log warnings to the console.
Usage
console.error('This is an error!')
console.debug('This is a debug statement.')
console.log('This is just basic info.')
console.warn('This is a warning!')