sahariko / logs-ui

Logs GUI utility for displaying logs in a pretty format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logs UI

A simple and clean log files web viewer.

The logs list and the logs content are updated live, using sockets.

Example

Installation

$ npm install @cocopina/logs-ui

Usage

Create a configuration file named .logs.ui.json or .logs.ui.js and place it in the root of your projects.

Add an npm script to your package:

"logs-ui": "logs-ui"

Run:

$ npm run logs-ui

Configuration

Parameter Description Default
app_name The app's name -
logs_dir The directory that holds the logs NONE. MANDATORY
port The port to run on 1095

Example

{
	"app_name": "Cocopina",
	"logs_dir": "./logs",
	"port": "4004"
}

About

Logs GUI utility for displaying logs in a pretty format


Languages

Language:JavaScript 48.4%Language:CSS 46.5%Language:HTML 5.0%