Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joshgillies/node-matrix-logger
- Owner: joshgillies
- Created: 2014-11-09T01:10:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-28T08:42:13.000Z (almost 10 years ago)
- Last Synced: 2024-10-19T00:15:20.581Z (27 days ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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