Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aeroware/logger

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aeroware/logger

Simple logger that has 4 different preset functions.

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
2
Weekly downloads
 
Created
Source

logger

Simple logger that has 4 different preset functions.

Usage

  • Import Logger from index
  • Create new Logger (pass in custom header if necessary)
  • Use the 4 provided logger functions!

Example

TypeScript:

import { Logger } from 'logger';
const logger: Logger = new Logger('Logger');
logger.success('Logger is working!');

JavaScript:

const Logger = require('logger');
const logger = new Logger('Logger');
logger.success('Logger is working');

Functionality

Logger has 4 logging functions.

  • Logger.success(message: string) - logs in green
  • Logger.info(message: string) - logs in blue
  • Logger.warn(message: string) - logs in yellow
  • Logger.error(message: string) - logs in red

FAQs

Package last updated on 11 Jan 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc