simple-node-logger
simple-node-logger copied to clipboard
When writing the log to the file, is there a way to close the log file and stop logging?
In the app that I am writing, I want to send the log file somewhere (via email or sftp) if a particular error is captured.
Is there a way to close the log file so I can manipulate the file that the simple-node-logger created?