From 9f95b8c537501ea5e3b3a2c72fab270c37503b7d Mon Sep 17 00:00:00 2001 From: Olaf van der Kruk Date: Mon, 29 Feb 2016 10:48:11 +0100 Subject: [PATCH] Added little readme --- src/script/loglite.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/script/loglite.lua b/src/script/loglite.lua index 52ff68d..29ba313 100644 --- a/src/script/loglite.lua +++ b/src/script/loglite.lua @@ -4,6 +4,12 @@ -- * directives: either a color, a color prefixed by 'b' or one of: _delete, _nodelete, [_matchonly] -- * pattern rules are matched top to bottom, the last one encountered overriding any previous conflicting directive -- +-- EXAMPLE USAGE: +-- to be able to run print3d and at the same time color the logging you can use the pipe (|) operator. +-- use 2>&1 to redirect the stderr to stdout. +-- eg: +-- ./print3d -S -V -F -p marlin_generic 2>&1 | lua ./loglite.lua +-- -- TODO: -- * move script to firmware repo (since it's shared between that and print3d) and remove commit from print3d -- * pre-split keyword lists for efficiency?