added logging, analyze decorator to debug dictionaries #24