
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
node-proxy-logger
Advanced tools
this method is intended to display graphs call methods in the form of diagrams https://mermaid.js.org/ for your application
For constructor:
import {proxyLogger} from "node-proxy-logger"
export default class ExampleController extends AbstractController {
logs = [];
constructor(options) {
super(options)
return proxyLogger(this, {
regexExclude: /^(is|get|set|pushlog)/i,
loopStart: 'Start',
logMethod: 'pushLog'
});
}
pushLog(message, data, group = 'graph') {
this.logs.push({message, data, group})
}
index() {
return 'hello world'
}
}
For instance object:
import {proxyLogger} from "node-proxy-logger"
const exampleController = new proxyLogger(new ExampleController, {
})
exampleController.index();
FAQs
Visual representation of method calls in the form of a graph
We found that node-proxy-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.