Draftlog Session
Log like a pro with Yarn-like statuses
This will generate clean session logs for your "steps" during execution of scripts in node.
Here is an example (using async/await):
const Session = const sleep = ;async { let session = 'Simple session' sessionstep = 'Initializing' await sessionstep = 'Doing something' sessionstatus = 'One thing...' await sessionstatus = 'One more thing...' await sessionstep = 'Finishing up' session sessionstep = 'Loading' let steps = 10 session while steps-- session await sessionstep = 'Completed. Cleaning up' sessionstep = 'One more extra step...' session}