Added legacy logging functions (issue #176)