1 files changed, 16 insertions(+), 1 deletions(-) M README.md
M README.md +16 -1
@@ 23,4 23,19 @@ 2013-08-22T15:53:02-07:00 hello world Log format ---------- -{RFC3339} {message}\n + [-+]{RFC3339} {message}\n + ++ Addition +- Deletion + +If prefix is '+' add entry to the logs, if prefix is '-' remove the 1st +corresponding entry from the logs. + +Example (Python): + + logs = [ + '+2013-09-03T10:00:00-04:00 test\n', + '-2013-09-03T10:00:00-04:00 test\n', + '+2013-09-03T11:00:00-04:00 test\n', + '-2013-09-03T12:00:00-04:00 test\n', + ]