@trarn/react-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Parameter Type Description
info method Accepts two properties; message and data. Again, data can be an object, array, etc.
debug method Accepts two properties; message and data. Again, data can be an object, array, etc.
error method Accepts two properties; message and data. Again, data can be an object, array, etc.
warn method Accepts two properties; message and data. Again, data can be an object, array, etc.
assert method Accepts an assertion group and a message/object. Acts as a standard console.assert
group method Starts a console group
groupEnd method Ends the above mentioned "group"

Authors

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

Readme

Keywords

Package Sidebar

Install

npm i @trarn/react-logger

Homepage

avernix.com

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

10.8 kB

Total Files

7

Last publish

Collaborators

  • trarn