Skip to content

๐Ÿ“ A simple log aggregation tool.

Notifications You must be signed in to change notification settings

neogeek/lumberlogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LumberLogs

๐Ÿ“ A simple log aggregation tool.

Install

Download the latest from https://github.com/neogeek/lumberlogs/releases

Usage

Bash

$ 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

JavaScript

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'
    }
});

Unity

Install package via UPM https://gist.github.com/46e7896edaf8a59089b19fb07577555f.git

Build

Install required packages via node.

$ npm install

Test the application.

$ npm start

Build the application.

$ npm run build