Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let { logmailer, logmail } = require("./logmailer");
- // import { logmailer, logmail } from "./logmailer";
- logmail.summary.add("Starting time", `Starting app run now: ${new Date().toISOString()}`);
- // ..
- logmail.errors.add("Error heading", "Info about error");
- logmail.errors.add(null, "Further info about error");
- logmail.errors.add(null, "Further info about error");
- // ..
- logmail.managerOnly.add("Info for the manager heading", "Info for the manager");
- logmail.managerOnly.add(null, "Further info for the manager");
- logmail.managerOnly.add(null, "Further info for the manager");
- // ..
- logmail.ffOnly.add("Info for the firefighter heading", "Instructions for the firefighter");
- logmail.ffOnly.add(null, "Further instructions");
- logmail.ffOnly.add(null, "Further instructions");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement