Log handler extension for angular-translate