Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshgillies/node-matrix-logger

Squiz Matrix log manager from Node.js
https://github.com/joshgillies/node-matrix-logger

Last synced: 5 days ago
JSON representation

Squiz Matrix log manager from Node.js

Awesome Lists containing this project

README

        

# node-matrix-logger

Capture and process Squiz Matrix logs from Node.js

# Example

```js
var matrixAuth = require('node-matrix-auth');
var logger = require('node-matrix-logger');

var auth = matrixAuth({
auth: 'user:pass',
admin: 'http://mysource.matrix/_admin',
wsdl: 'http://mysource.matrix/_web_services/soap?wsdl'
});

var opts = {
level: 'error'
};

logger(auth, opts, function(err, data) {
if (err)
return console.error(err);
console.log(data);
});
```

# License

MIT