Added multithreading support to LogFy.

Closes #14 .