1.0.8 • Published 3 years ago
hotlogjs v1.0.8
World's Simplest Logger!
Usage
Go to hotlog.in and create your package
Copy the API_KEY into your project's .env file
import * as hot from 'hotlogjs' or const hot = require('hotlogjs')
npm i hotlogjs
hot.log("your data")
check your logs on the dedicated URL given to you
Log Options
options: - data : type object or string - flag : anyone of INFO | WARNING | ERROR
examples:
hot.log("log 1",{flag:"INFO"})
hot.log("log with only message")
hot.log("log 1",{data:{prop:"value"}})