Remlog is a very simple remote logging tool, with a client which supports all browser and provides an image as well as an AJAX API for modern applications.
- Make sure you have Node.js installed (preferred version: 8, support: >= 6)
- Install the CLI inside your project via
yarn add -D @namics/remlog-cli
- Add a
poststart
script which runsremlog server -p <preferred-port>
- Install the
@namics/remlog-browser-client
if you're in a UI project or@namics/remlog-utils
if you're in a project with AJAX utils - Refer to the BrowserClient or Server package.
Have fun logging!
Transports are the way where your logs will be stored, for example temporary in the console, in a logfile or on a database etc.
- Console (package
@namics/remlog-transports/Console
) - FileSystem (package
@namics/remlog-transports/FileSystem
)
Contains the remote core part of the logging system which saves and/or display logs. It provides the main API for the whole logging process.
The browser clients helps you creating remote logs inside any browser (supports IE7+, Chrome, Firefox and Safari) by creating an image tag and appending it to the body of your website.
There is a CLI package which helps you setting up your local log-server within a few seconds. It has also built-in support for testing traces.
The utilites stack provides all information required to create custom trace requests, access the REST routes etc.
# create a commitizen conform commit
yarn run commit
# run all tests in each package inside the lerna-terminal
yarn run testsuite
# generates the changelog for each package
yarn run generate-changelog
# runs prettier against all packages
yarn run prettier
# prettifies all files, generates changelog
yarn run prepare-release