added capabilities for angular $log.