Method: OpenC3::LogWriter#start
- Defined in:
- lib/openc3/logs/log_writer.rb
#start ⇒ Object
Starts a new log file by closing the existing log file. New log files are not created until packets are written by #write so this does not immediately create a log file on the filesystem.
156 157 158 |
# File 'lib/openc3/logs/log_writer.rb', line 156 def start @mutex.synchronize { close_file(false); @logging_enabled = true } end |