@electron-forge/web-multi-logger
TypeScript icon, indicating that this package has built-in type declarations

7.3.1 • Public • Published

Web Multi Logger

Display multiple streams of logs in one window

This module allows you to pipe multiple logically separated streams of logs into multiple visually separated views in a web console. It comes with full ANSI support so you can pipe anything that would work in a Terminal into this tool as well.

Usage

import Logger from '@electron-forge/web-multi-logger';

const logger = new Logger();

const serverTab = logger.createTab('server');
const frontEndTab = logger.createTab('front_end');

runServerWithLogger(serverTab);
runFrontEndWithLogger(frontEndTab);

// Navigate to http://localhost:9000 in your browser

Readme

Keywords

none

Package Sidebar

Install

npm i @electron-forge/web-multi-logger

Weekly Downloads

26,796

Version

7.3.1

License

MIT

Unpacked Size

19.1 kB

Total Files

17

Last publish

Collaborators

  • vertedinde
  • georgexu99
  • erickzhao
  • malept
  • marshallofsound