Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. let { logmailer, logmail } = require("./logmailer");
  2. // import { logmailer, logmail } from "./logmailer";
  3.  
  4. logmail.summary.add("Starting time", `Starting app run now: ${new Date().toISOString()}`);
  5.  
  6. // ..
  7.  
  8. logmail.errors.add("Error heading", "Info about error");
  9. logmail.errors.add(null, "Further info about error");
  10. logmail.errors.add(null, "Further info about error");
  11.  
  12. // ..
  13.  
  14. logmail.managerOnly.add("Info for the manager heading", "Info for the manager");
  15. logmail.managerOnly.add(null, "Further info for the manager");
  16. logmail.managerOnly.add(null, "Further info for the manager");
  17.  
  18. // ..
  19.  
  20. logmail.ffOnly.add("Info for the firefighter heading", "Instructions for the firefighter");
  21. logmail.ffOnly.add(null, "Further instructions");
  22. logmail.ffOnly.add(null, "Further instructions");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement