This is an extension of the Angular $log functionality. It used the native $decorator to push the $log pass its capabilities and provide new functionality such as configuring the $log for different environments such as production and development