Skip to content
This repository was archived by the owner on Oct 24, 2019. It is now read-only.

vpapp-team/backend-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend-logger

Greenkeeper badge

class Logger

howto:

before using any of the method, u have to use the functions in is to set which module is used

e.g.:

const L = new (require('backend-logger'))().is.LOGGER();
L.log('some log', {foo: 'bar'})

methods

  • log(txt, ...data)
  • debug(txt, ...data)
  • error(txt, ...data)
  • logClean(...data)
  • errorClean(...data)

parameter

  • is: object getter
  • is.BACKEND: function()
  • is.API: function()
  • is.DATA: function()
  • is.PROXY: function()
  • is.TYPES: function()
  • is.UTIL: function()
  • is.CDN: function()
  • is.LOGGER: function()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published