MCPcopy
hub / github.com/winstonjs/winston / log

Method log

examples/custom-transport.js:21–29  ·  view source on GitHub ↗
(info, callback)

Source from the content-addressed store, hash-verified

19 }
20
21 log(info, callback) {
22 setImmediate(() => {
23 this.emit('logged', info);
24 });
25
26 // Perform the writing to the remote service
27
28 callback();
29 }
30};
31
32const transport = new CustomTransport();

Callers 14

metadata.jsFile · 0.45
quick-start.jsFile · 0.45
interpolation.jsFile · 0.45
finish-event.jsFile · 0.45
simple-stream.jsFile · 0.45
create-file.jsFile · 0.45
format-filter.jsFile · 0.45
errors.jsFile · 0.45
json.jsFile · 0.45
color-message.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected