loglitely
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

loglitely

npm version

ExamplesDocumentationChangelogLicense

A Zero Dependency TypeScript logging library

configured preset

Table of Contents

Installation

Add the package to your project via npm

npm install loglitely

Support Matrix

Version Supported
>=1.2.0

Usage

There are two ways to add a logger to your application. The quickest way is using the default configuration.

import { createLogger } from 'loglitely';

const logger = createLogger();

logger.log("Hello World!");
logger.warn("Hello World!");
logger.debug("Hello World!");
logger.error("Hello World!");
logger.info("Hello World!");

Contributing

See CONTRIBUTING.md

Package Sidebar

Install

npm i loglitely

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

22.7 kB

Total Files

15

Last publish

Collaborators

  • kourosh-alasti