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

@trarn/react-logger

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trarn/react-logger

A logger built with react in mind

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

React Logger by Avernix Technologies

React Logger is a simple logging tool

Installation

Install @trarn/react-logger with npm

  npm i @trarn/react-logger

Install @trarn/react-logger with yarn

  yarn add @trarn/react-logger

Usage

// CommonJS
const { log } = require('@trarn/react-logger');

// ESM
import { log } from '@trarn/react-logger';

Available Log Levels

ParameterTypeDescription
infomethodAccepts two properties; message and data. Again, data can be an object, array, etc.
debugmethodAccepts two properties; message and data. Again, data can be an object, array, etc.
errormethodAccepts two properties; message and data. Again, data can be an object, array, etc.
warnmethodAccepts two properties; message and data. Again, data can be an object, array, etc.
assertmethodAccepts an assertion group and a message/object. Acts as a standard console.assert
groupmethodStarts a console group
groupEndmethodEnds the above mentioned "group"

Authors

  • @avernixtechnologies

Support

For support, email support@avernix.com or join our Discord channel Our Discord.

Contributing

We will be setting up a way for people to contribute, in the mean time, fork and create a pull request. Thanks!

Feedback

If you have any feedback, please reach out to us at feedback@avernix.com

Avernix Technologies

Avernix Technologies is a software company dedicated to providing solutions for businesses big and small, or even hobbyists.

License

MIT

Roadmap

  • More to come

Used By

This project is used by the following companies:

  • Avernix Technologies

Keywords

logger

FAQs

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