extend logger class for callbacks