Allow different formatting for logs.
Merge branch 'boost-eigen' of github.com:kmatzen/caffe into boost-eigen
Changed how logs are dumped.