datacratic/soa — pull request #24 by dohse (2013-08-08 11:08:13+00:00)
Title: Fix empty field handling

To reproduce the bug fixed by this commit, call
logMessage("CHANNEL", "", "", "");

Expected output when splitting the string (passed into the logMessage method in the logger) into the fields:
numFields: 4
field[0]: Timestamp
field[1]: ""
field[2]: ""
field[3]: ""

But the resulting output was:
numFields: 3
field[0]: Timestamp
field[1]: ""
field[2]: "\t"