Resolves issue #7, adds a threadlocal property to the logging system.