A simple android-style logger for nodejs
This node package is a simple wrapper of console.log, it's not a server log like morgan or others.
Droid-Logger is built as the android default logger (i.e.Log.e(TAG, my_message)
) and print the different 3 types of log (Log.e, Log.d, Log.w)
with 3 differente color
npm install -s droid-logger
After you install the package import in the file where you want to use it
var Log = require(./droid-logger);
Droid-logger has 3 print message mode:
-
Log.e(<function-name>,<your-message>)
error log -
Log.d(<function-name>,<your-message>)
simple debug log -
Log.w(<function-name>, <your-message>)
warning log