@electron-forge/web-multi-logger

Display multiple streams of logs in one window

Stats

StarsIssuesVersionUpdatedCreatedSize
@electron-forge/web-multi-logger
4,5301096.0.0-beta.6114 days ago3 years agoMinified + gzip package size for @electron-forge/web-multi-logger in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.