New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

baloga

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baloga

Baloga is a simple and fast logging library for Node.js, designed to provide easy-to-use logging functionality with native console log support and log level configuration.

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

Baloga

Baloga is a simple and fast logging library for Node.js, designed to provide easy-to-use logging functionality with native console log support and log level configuration.

Features

  • Easy-to-use logging with minimal setup
  • Native support for console logging
  • Configurable log levels to control verbosity
  • No external dependencies for lightweight integration
  • Fast and efficient logging for Node.js applications

Installation

You can install Baloga via npm:

npm install baloga

Usage

const { Logger } = require('baloga');

const logger = new Logger({ logLevel: "debug" });

// Log messages with different levels
logger.info('This is an info message');
logger.warn('This is a warning message');
logger.debug('This is an debug message');
logger.error('This is an error message');

examples

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

logger

FAQs

Package last updated on 13 Apr 2024

Related posts