diff --git a/log%28%29.md b/log%28%29.md new file mode 100644 index 0000000..b671b98 --- /dev/null +++ b/log%28%29.md @@ -0,0 +1,8 @@ +log() +An instance of NodeCG's Logger, with the following methods. The logging level is set in cfg/nodecg.json, NodeCG's global config file. +#Example +nodecg.log.trace('trace level logging'); +nodecg.log.debug('debug level logging'); +nodecg.log.info('info level logging'); +nodecg.log.warn('warn level logging'); +nodecg.log.error('error level logging');