Keep a journal of your day with the activity-logger which stores a daily log in a Dynarex file.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Record daily activity using the Activity logger gem

The Activity Logger gem is used to store short descriptions to a Dynarex file on a daily basis. The previous days are stored in a subdirectory called 'archive'.

require 'activity-logger'

al =
al.create "I'm #testing the activity logger"
al.create "I'm having a salad for #lunch"
al.create "playing darts #recreation"
$ more dynarexdaily.xml
<?xml version='1.0' encoding='UTF-8'?>
    <date>2013-05-24 13:29:12 +0100</date>
    <format_mask>[!time] [!desc]</format_mask>
    <schema>entries[date]/entry(time, desc)</schema>
    <entry id='1' created='2013-05-24 13:29:12 +0100' last_modified=''>
      <time>2013-05-24 13:29:11 +0100</time>
      <desc>I'm #testing the activity logger</desc>
    <entry id='2' created='2013-05-24 13:29:13 +0100' last_modified=''>
      <time>2013-05-24 13:29:12 +0100</time>
      <desc>I'm having a salad for #lunch</desc>
    <entry id='3' created='2013-05-24 13:29:14 +0100' last_modified=''>
      <time>2013-05-24 13:29:13 +0100</time>
      <desc>playing darts #recreation</desc>

gem activitylogger activities dynarex daily