mocoolka-log
Mocoolka-log is base module for mocoolka application and write message to file or database or mail.
Install
$ npm install mocoolka-log
Usage
first install mocoolka-setting and mocoolka-i18n
$ npm install mocoolka-setting$ npm install mocoolka-i18n
edit log config in app.mk-setting.json
"mocoolka-log":
start micro service
const settingService = require;settingService;const i18nService = require;i18nService;const logService = require;
log using level
const {serviceTools } = require; serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;serviceTools.standClientPromise.catch;
Documentation
Available here
License
Licensed under the MIT, version 2.0. (see MIT).