Advertisement
gsimon75

LogHack Test

Sep 7th, 2020 (edited)
1,970
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const loghack  = require("./loghack");
  2.  
  3. console.log("== before hijacking");
  4.  
  5. loghack.start("discard");
  6.  
  7. console.log("== hijacked message 1");
  8. console.log("== hijacked message 2");
  9. console.log("== hijacked message 3");
  10.  
  11. loghack.flush();
  12. //loghack.discard();
  13.  
  14. loghack.stop();
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement