orilog

0.0.3 • Public • Published

Description

This module is for logging other modules or services.

Install

  • origamicore Doc

Configuration

{
    'context': '{db context name}', 
    //if use file log
    'fileData':{'path':'{path of log}'},
    //Services allowed to use
    acceptedService:{
        '{domainName}':[
            '{serviceName}'
        ]
    }
} 

Internal Services

    //Save data on file
    global.log.fileLog(name,data) 
    //Create a collection or table on database with type
    global.log.tagLog(type,domain,service,data,session)  
    //domain log
    global.log.domainLog(domain,service,session,data)  

Readme

Keywords

Package Sidebar

Install

npm i orilog

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

4.74 kB

Total Files

6

Last publish

Collaborators

  • vahidhossaini