Add log_info method, documentation and syntax improvements.
Log exceptions + better logging mechanism