How to use @electron-forge/web-multi-logger - 1 common examples

To help you get started, we’ve selected a few @electron-forge/web-multi-logger examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github electron-userland / electron-forge / packages / plugin / webpack / src / WebpackPlugin.ts View on Github external
async startLogic(): Promise {
    if (this.alreadyStarted) return false;
    this.alreadyStarted = true;

    await fs.remove(this.baseDir);

    const logger = new Logger(this.loggerPort);
    this.loggers.push(logger);
    await this.compileMain(true, logger);
    await this.launchDevServers(logger);
    await logger.start();
    return false;
  }
}

@electron-forge/web-multi-logger

Display multiple streams of logs in one window

MIT
Latest version published 2 months ago

Package Health Score

92 / 100
Full package analysis

Popular @electron-forge/web-multi-logger functions

Similar packages