added tabSize option, broke logger into 2 pieces to prevent proxy chocking by going over 500 characters per line.