🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nldoc/logger

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nldoc/logger

A logger package that handles logging in ECS format. Based on Pino.

npmnpm
Version
1.1.3
Version published
Weekly downloads
12
-29.41%
Maintainers
3
Weekly downloads
 
Created
Source

Logger for Typescript

This repository contains a base logger that logs in ECS format. This logger is based on Pino.

Documentation for Pino can be found here

How to use

Install this package by running: npm install @nldoc/logger

You can now import logger in your project!

Example

import { logger } from '@nldoc/logger'

logger.child({foo: 'bar'}).info('baz')

FAQs

Package last updated on 06 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts