New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@dan28/nodelog

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dan28/nodelog

Node.js API to audit and log differences between services

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Nodelog Service

This is a simple service that allows you to log messages to a file. It is intended to be used as a simple logging service for your applications.

Installation

  • Add module npm install @dan28/nodelog --save

Log an event

import { service as auditService } from "nodelog"

const auditLog: auditService.AuditLog = {

}
auditService.log(auditLog)

Get filtered logs

import { service as auditService } from "nodelog"

const auditLogFilter: auditService.AuditLogFilter = {

}
auditService.getLog(auditLogFilter)

As a client module

  • Add module npm install @dan28/nodelog --save

Log an event

import { client as auditClient } from "nodelog"

const auditLog: AuditLog = {

}
auditClient.log(auditLog)

Get filtered logs

import { client as auditClient } from "nodelog"

const auditLogFilter: auditClient.AuditLogFilter = {

}
auditClient.getLog(auditLogFilter)

Keywords

node

FAQs

Package last updated on 01 Apr 2024

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