📝 A simple log aggregation tool.
Download the latest from https://github.com/neogeek/lumberlogs/releases
$ curl -H "content-type:text/plain" -d "Hello, world." http://localhost:1234/log
$ curl -H "content-type:application/json" -d "{\"message\":\"Hello, world.\"}" http://localhost:1234/log
fetch('http://localhost:1234/log', {
method: 'POST',
body: 'Hello, world.'
});
fetch('http://localhost:1234/log', {
method: 'POST',
body: JSON.stringify({ message: 'Hello, world.' }),
headers: {
'Content-Type': 'application/json'
}
});
Install package via UPM https://gist.github.com/46e7896edaf8a59089b19fb07577555f.git
Install required packages via node.
$ npm install
Test the application.
$ npm start
Build the application.
$ npm run build