JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12806
  • Score
    100M100P100Q154198F
  • License MIT

A ColorfulAppender for `base-log-factory`.

Package Exports

  • blf-colorful-appender
  • blf-colorful-appender/dist/ColorfulAppender
  • blf-colorful-appender/dist/ColorfulAppender.js
  • blf-colorful-appender/dist/ColorfulAppender.mjs
  • blf-colorful-appender/dist/index.js
  • blf-colorful-appender/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blf-colorful-appender) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

blf-colorful-appender

npm package

NPM version NPM Downloads License TypeScript

🚀 A ColorfulAppender for base-log-factory.


📅 Documentation

For detailed usage instructions and API references, please visit the official documentation:

👉 View Full Documentation


🚀 Quick Start

1. Installation

npm install base-log-factory blf-colorful-appender

2. Basic Usage

// factory.ts
import { LogFactory } from 'base-log-factory';
import { ColorfulAppender } from 'blf-colorful-appender';

export default new LogFactory({
  appenders: [new ColorfulAppender()]
});

// main.ts
import logFactory from './factory';

const logger = logFactory.getLogger('app');
logger.info('Server started successfully');

📝 Contribution Guide

  1. Development Setup

    npm install
  2. Testing

    npm test # Run unit tests
  3. Before Submitting PRs

    • Ensure ESLint is configured (VSCode plugin recommended)
    • Add test cases for new features
    • Update documentation

📄 License

MIT License