source/lib/VBLog.js
// Display a log file dialog after closing any existing open log file

Display a log file dialog after closing any existing open log file
Display a log file dialog after closing any existing open log file
doLog(config, dirname, filename) {
    if (this.logStream) {
      this.logStream.end(() => {
        this.logStream = null
        this.doDialog(config, dirname, filename)
      })
    }
    else {
      this.doDialog(config, dirname, filename)
    }
  }
doLog ( config , dirname , filename ) { if ( this . logStream ) { this . logStream . end ( ( ) => { this . logStream = null this . doDialog ( config , dirname , filename ) } ) } else { this . doDialog ( config , dirname , filename ) } }
Display a log file dialog after closing any existing open log file
Display a log file dialog after closing any existing open log file
// If we already have a log file in use, then close its stream
