-
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
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"}})