@kourosh-alasti/logger
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@kourosh-alasti/logger

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 @kourosh-alasti/logger

Support Matrix

Version Supported
>=1.0.0

Usage

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

import { createLogger } from '@kourosh-alati/logger';

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

Dependents (0)

Package Sidebar

Install

npm i @kourosh-alasti/logger

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

25.3 kB

Total Files

21

Last publish

Collaborators

  • kourosh-alasti