node-etw

0.0.2 • Public • Published

node-etw

A node ETW logger that is a drop on replacement for console

usage

var etw = require('node-etw');
etw.log('My nice formated {%s}', 'line');

You will need to start an etw session (either realtime or to an etl file) in order to watch the logs.

For example:

logman.exe start NodeEtw -p {10535C9F-BF2E-4A80-8410-EBBEBA2C7400} 0xff -o NativeNode.etl -ets
node test.js
logman.exe stop NodeEtw -ets

node ETW provider guid

{10535C9F-BF2E-4A80-8410-EBBEBA2C7400}

License

MIT

Dependents (0)

Package Sidebar

Install

npm i node-etw

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • saary