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'})
- log(txt, ...data)
- debug(txt, ...data)
- error(txt, ...data)
- logClean(...data)
- errorClean(...data)
- 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()
This repository was archived by the owner on Oct 24, 2019. It is now read-only.