Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
/ lognana Public archive

🍌 An emoji fueled log system with zero dependencies

License

Notifications You must be signed in to change notification settings

alex-page/lognana

Repository files navigation

🍌Lognana Build Status

An emoji fueled log system with zero dependencies


‼️This is now deprecated ‼️

Please use indent-log instead.


Install

$ npm install lognana

Usage

myfile.js

const Log = require( 'lognana' );

Log.emoji = '🍌';

// Check if the user is in verbose mode
if( process.argv.includes( '-v' ) || process.argv.includes( '--verbose' ) ) {
  Log.verboseMode = true;
};


Log.message( 'hello world' );
Log.welcome( 'hello world' );
Log.error( 'hello world' );
Log.info( 'hello world' );
Log.ok( 'hello world' );
Log.verbose( 'hello world' );

In the terminal:

node myfile.js --verbose

Output:

Example output of the Log function

Release History

  • v1.0.0 - First release

About

🍌 An emoji fueled log system with zero dependencies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published