npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@logback4js/microsoft

v3.0.5

Published

Microsoft Appenders for Logback4js.

Readme

Logback4js

npm downloads License Build codecov CodeQL

Logger for JavaScript inspired by Logback.

Overview

---
title: "Outline Diagram"
---
erDiagram
    LoggerFactory ||--|{ Logger: ""
    Logger }o--o{ Appender: ""

| Class | Role | | ---- | ---- | | LoggerFactory | Factory class of Loggers. | | Logger | Manage and log Appenders. | | Appender | Define output destination and append log. |

Appenders

List of Appenders library provides:

| Appender | Module | Description | | ---- | ---- | ---- | | Console Appender | @logback4js/core | Output to console. Core module. | | HTTP POST Appender | @logback4js/core | Post logging API. Core module. | | LocalStorage Appender | @logback4js/storage | Output to LocalStorage. | | SessionStorage Appender | @logback4js/storage | Output to SessionStorage. | | IndexedDB Appender | @logback4js/storage | Output to IndexedDB. | | Simple Mail Appender | @logback4js/mail | Send text mail using Nodemailer. | | Rich Mail Appender | @logback4js/mail | Send html mail using Nodemailer. | | SQLite Appender | @logback4js/database (experimental) | Insert record into SQLite database using node-sqlite3. It is planed to be migrate node:sqlite after Node.js v20 is going to be EOL. | | PostgreSQL Appender | @logback4js/database (experimental) | Insert record into PostgreSQL database using node-postgres. | | Redis Appender | @logback4js/database (experimental) | Set key into Redis using node-redis. | | MongoDB Appender | @logback4js/database (experimental) | Insert document into MongoDB using the official MongoDB Node.js driver. When using this appender, install mongodb. | | Google Analytics Appender | @logback4js/google-analytics | Send event using Google Analytics. | | Google Analytics for Firebase Appender | @logback4js/google-analytics | Send event using Google Analytics for Firebase. | | Slack Appender | @logback4js/slack | Send message using Slack Web API. Not tested yet. | | Twitter Appender | @logback4js/twitter | Send message using SDKs wrap the X API. Using this Appender in browser, proxy setting is required to bypass CORS. Not tested yet. | | Microsoft Teams Appender | @logback4js/microsoft | Send message to Teams using Microsoft Graph. Use workflow with custom HTTP POST Appender might be better. Not tested yet. | | Discord Appender | @logback4js/discord | Send message using discord.js. Use Discord Webhook Appender might be better. Not tested yet. | | Discord Webhook Appender | @logback4js/discord | Send message using Discord Webhook. Not tested yet. |

Versioning

After release version 1.0.0, follow the rules of Semantic Versioning 2.0.0.

  1. MAJOR: Update core module including breaking change.
  2. MINOR: Update core module NOT including breaking change or update others such as adding new features.
  3. PATCH: Update NOT including behavior change such as update documents or dependencies.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm run test to execute the unit tests via Jest.

# Build packages before test
npm ci && npm run build
# Boot mock
docker compose -f=mock/compose.yaml up -d
# Run unit tests
npm run test