1.0.8 • Published 7 months ago
artivain-logs v1.0.8
Artivain Logs
Example:
import { LogsObject } from "artivain-logs";
const logs = new LogsObject("apiKey", "from");
// Will log it in the database as "content | userId: 123"
logs.info("content", {
userId: 123, //optional
});
//returns a promise