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

@livepreso/log

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livepreso/log

A basic logging framework

latest
npmnpm
Version
1.3.12
Version published
Maintainers
2
Created
Source

Log

A basic logging framework based on bows and logLevel

Install

npm install sp-log

Usage

import {Log, LogLevel} from "@livepreso/log";

const log = Log("mylog");
log.debug("not shown in console due to log level");
log.info("info message");
log.setLevel(LogLevel.INFO);

// Turn off all logging
Log.setAllLevels(LogLevel.SILENT);

Documentation

http://developers.salespreso.com/modules/sp-log/

Development

# Install dependencies
yarn

# Run web server
yarn serve

# Run tests
yarn test

# Generate docs
yarn docs

FAQs

Package last updated on 20 Feb 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