You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
449 B

const { log, logt } = require("./tlog");
log("use", ["exactly", "like"], `console.log ${17 * 15}`)
const downloadProgress = 51;
const totalDownloads = 106;
// send only to targets with the 'verbose' tag
logt("verbose", "Download progress:", downloadProgress / totalDownloads);
const filePath = "/example-non-existant-file.json";
// send to targets with the 'info' and 'error' tags
logt(["error", "info"], "failed to parse json at: ", filePath)