Re: org-mode as a logging target

2020-06-21 Thread Russell Adams
Take my upvote! +1 On Sun, Jun 21, 2020 at 09:09:01PM +0200, Diego Zamboni wrote: > This is actually pretty cool! Thanks for the tip, > --Diego > > > On Sun, Jun 21, 2020 at 5:39 PM Meng Weng Wong wrote: > > > I've been enjoying a featherweight alternative to log levels, made > > possible by org

Re: org-mode as a logging target

2020-06-21 Thread Diego Zamboni
This is actually pretty cool! Thanks for the tip, --Diego On Sun, Jun 21, 2020 at 5:39 PM Meng Weng Wong wrote: > I've been enjoying a featherweight alternative to log levels, made > possible by org-mode. > > Try this the next time you write a little throwaway command-line utility > script: > >

org-mode as a logging target

2020-06-21 Thread Meng Weng Wong
I've been enjoying a featherweight alternative to log levels, made possible by org-mode. Try this the next time you write a little throwaway command-line utility script: Step 1: Add asterisks to the front of your printf traces. Step 2: Tee your STDOUT / STDERR to a file named log.org Step 3: Op

org-mode as a logging target in three easy steps

2020-06-20 Thread Meng Weng Wong
I've been enjoying a featherweight alternative to log levels, made possible by org-mode. I've done this a couple of times now and am feeling good enough about it to recommend it to others. The next time you write a little throwaway script: Step 1: Add asterisks to the front of your printf traces.