Refactored logger to make it possible to create independent implementations for different stack tracers. Consolidated log file format (fields are now tab separated). Added include file which controls which logger will be used.