Logging now possible from exported add_log_entry() function. Added a new module for testing.