GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - letea/log: A console with label for browsers.

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Log

npm version

A console with label for Browser.

Live Demo

Install

npm install @letea/log

Usage

import Log from "@letea/log";

const log = new Log("Log 1");
log.print("This is a print message");

// Or this way
/* 
const log = new Log({
  label: "Log 1"
});
*/

const log2 = new Log({
  label: "Log 2",
  labelBackgroundColor: "#c00"
});
log2.warn("This is a warn message.");

const log3 = new Log({
  label: "Log 3",
  labelBackgroundColor: "#0a0"
});
log3.error("This is a error message.");

Options

{
  label: string,
  labelBackgroundColor: string, // color format
  messageColor: string          // color format
}

Result

Light Mode

Dark Mode

About

A console with label for browsers.

Topics

browsernpmtoolsworking

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.