zlogjs-logger
DESCRIPTION
logger
Table of Contents
Prerequisites
Clients should be registered with the regarding service to use log service
Installation
Install stable version from NPM:
npm install zlogjs-logger --save
Configuration
You have to set the mode and proide the api information.
Logger && Log
//expressapp//manual use
Log using service
//configvar conf = appId:'app_id' apiKey:'api_key' ip:'host' port:'port' mode : 'central' || leave mode app
Log using local file
//configvar conf = appId:'app_id' apiKey:'api_key' ip:'host' port:'port' mode : 'local' || leave mode app