corrected logging api to use consistent naming conventions