🚀 DAY 3 OF LAUNCH WEEK:Announcing Bun and vlt Support in Socket.Learn more →
Socket
Book a DemoInstallSign in
Socket

@teamteanpm2024/iste-molestiae-eaque

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@teamteanpm2024/iste-molestiae-eaque

A simple tool to create nice and colorful logs.

unpublished
latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Pretty Logger

A simple tool to create nice and colorful logs.

Installation

For pretty much everyone

npm install --save @teamteanpm2024/iste-molestiae-eaque

For nerds :]

npm i -S @teamteanpm2024/iste-molestiae-eaque

Usage

It's pretty straightforward.

var Logger = require("@teamteanpm2024/iste-molestiae-eaque");

Logger.info('This is an info log!');
Logger.error('This is an error log!');
Logger.warning('This is a warning log!');
Logger.notice('This is a notice log!');

const exception = new Error('This is an exception');

Logger.exception(exception);

// Thanks to Colen from StackOverflow for this one!
// https://stackoverflow.com/questions/2710967/how-do-i-store-complex-objects-in-javascript
const complexObject = [
    {"name": "Jim's Ford Focus", "color": "white", isDamaged: true, wheels: 4},
    {"name": "Bob's Suzuki Swift", "color": "green", isDamaged: false, wheels: 4},
    {"name": "Alex's Harley Davidson", "color": "black", isDamaged: false, wheels: 2}
];

Logger.debug(complexObject);

Contribution

Make pull requests or open issues :) !

Keywords

some

FAQs

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